determine the types of all variables in a data set r code example Example: check type of column in r #in R sapply(my.data, class)