getType: Determines the type vector for an input data set.
Description
The type information is derived from the contents of individual columns
of an input data frame.
Usage
getType(dat)
Arguments
dat
A data frame.
Value
A character vector of length ncol(dat) containing "n" for numerical
columns, the number of different values for character or factor columns,
and "o" otherwise.