Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

r type of all columns

sapply(my.data, class)
        y        x1        x2        X3 
"numeric" "integer" "logical"  "factor" 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #type #columns
ADD COMMENT
Topic
Name
6+2 =