- Data Types
- In our project mainly we will use four datatypes
- Decimals values like 4.5 are called numerics.
- Natural numbers like 4L are called integers. Integers are also numerics.
- Boolean values (TRUE or FALSE or NA) are called logical.
- Text (or string) values are called characters.
- Class () function is useful to know the data type of variable.
- ls() function is useful to see list of variables in the workspace
- rm() function is useful to remove the variable from work space
- Coercion : If possible as.*() functions convert one datatype to other datatype
- Is.*() function useful to know the datatype of variable
- Complex data type
No comments:
Post a Comment