[R] Find classes of each column of data.frame()

Wacek Kusnierczyk Waclaw.Marcin.Kusnierczyk at idi.ntnu.no
Tue Jul 1 16:04:25 CEST 2008


Dong-hyun Oh wrote:
> Dear UseRs,
>
> I would like to know the way to find classes of each column of
> data.frame().
>

sapply(<your-data-frame>, class)

vQ



More information about the R-help mailing list