Returns a vector of basic classes of the colums of a dataframe.
Usage
colClasses(x)
Arguments
x
a dataframe.
Value
A named vector of the same length as ncol(x) and whose names equal names(x).
Details
Since the return value is a vector with one element per colunm, column with multiple classes (such as ordered and factor) see their classes simplified as the last class from the class vector.