December 2014
M T W T F S S
« May    
1234567
891011121314
15161718192021
22232425262728
293031  

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.