Constants in R:
NA, no data, not available
INF Positive Infinity
-inf Negative Infinity
True True
False false
All objects have two intrinsic properties, the element type mode (), and length ().
Basic types of elements within an object:
Numeric numeric
Character type character
Complex Type Complex
Logic type Logical
Functional function
In addition to the element types, the objects themselves have different types, which represent different data structures Struct,r object types in the include:
Vector vectors, consisting of a series of ordered elements
Factor factor, don't understand what it means
Array of arrays with the same set of elements with multiple subscript types
Matrices Matrix, is just an array of double subscripts.
A data frame, a structure similar to a matrix, can be a different object in a data frame.
Time series, which contains some additional attributes, such as frequency and time
List, general form of vector, without requiring all elements to be of the same type
R Learning 2 data types