March 2015
M T W T F S S
« May    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Find type of variables in a data frame

sapply(a,class) gives type of field (character, numeric, or factor) for each variable in the data frame a.

Comments are closed.