August 2014
M T W T F S S
« May    
 123
45678910
11121314151617
18192021222324
25262728293031

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.