Learn R Programming

readMLData (version 0.9-7)

analyzeData: 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.

See Also

readMLData.

Examples

Run this code
  pathData <- getPath("exampleData")
  pathDescription <- getPath("exampleDescription")
  dsList <- prepareDSList(pathData, pathDescription)
  dat <- dsRead(dsList, "glass")
  analyzeData(dat)

Run the code above in your browser using DataLab