Dataset abstraction

Share:

Description

Dataset abstraction to simplify characterization.

Usage

1
2
as.dataset(formula, data, ordered.as.factor = TRUE,
  integer.as.numeric = TRUE)

Arguments

formula

A symbolic description of the dataset

data

The data frame

ordered.as.factor

Interpret ordered factors as factors

integer.as.numeric

Interpret integer variables as numerics

Value

A proto object with an additional S3 class dataset

See Also

Other dataset.characterization: StatlogCharacteristics; characterize; plot.DatasetCharacterization

Examples

1
2
3
4
5
6
data("iris")
  ds <- as.dataset(Species ~ ., iris)
  ds

  str(ds$response())
  str(ds$dataparts(c("input", "numeric")))