Answers for "r type of all columns"

R
1

r type of all columns

sapply(my.data, class)
        y        x1        x2        X3 
"numeric" "integer" "logical"  "factor"
Posted by: Guest on November-18-2020

Code answers related to "r type of all columns"

Browse Popular Code Answers by Language