November 2014
M T W T F S S
« May    
 12
3456789
10111213141516
17181920212223
24252627282930

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.