getType {readMLData} | R Documentation |
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.
Author(s)
Petr Savicky
See Also
Examples
pathData <- getPath("exampleData")
pathDescription <- getPath("exampleDescription")
dsList <- prepareDSList(pathData, pathDescription)
dat <- dsRead(dsList, "annealing")
getType(dat)
[Package readMLData version 0.9-7 Index]