Variable types are deducted



examples/data_types.R
x = 23
class(x)     # numeric
x = "George"
class(x)     # character
x = T
class(x)     # logical

y = c(2, 7, 3)
class(y)     # numeric

the_truth = c(TRUE, FALSE, TRUE, TRUE, FALSE)
class(the_truth)       # logical
sum(the_truth)         # 3
length(the_truth) # 5

sum(TRUE)   # 1
sum(FALSE)  # 0