Data type
Logical : TRUE or FALSE
Numeric : integer and double
Complex : complex number
Character : character string
You can figure out the data type of an object using mode() function. Below are some examples:
mode(TRUE)## [1] "logical"
mode(3)## [1] "numeric"
mode("Intro_to_R")## [1] "character"