Find type of variables in a data frame

February 20, 2008

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

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.