as.dataset: Dataset abstraction

Description Usage Arguments Value See Also Examples

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")))


Search within the benchmark package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.