analyzeData {readMLData} | R Documentation |
Determine the type of values in each column of a data frame.
Description
For each column, its class and the number of different values is determined. For numeric columns, also the minimum and maximum is computed.
Usage
analyzeData(dat)
Arguments
dat |
A data frame. |
Value
A data frame with columns "class", "num.unique", "min", "max"
, which
correspond to properties of columns of dat
. The rows in the output
data frame correspond to the columns of dat
.
Author(s)
Petr Savicky
See Also
Examples
pathData <- getPath("exampleData")
pathDescription <- getPath("exampleDescription")
dsList <- prepareDSList(pathData, pathDescription)
dat <- dsRead(dsList, "glass")
analyzeData(dat)
[Package readMLData version 0.9-7 Index]