dropTrainSetVars: Parameters dropping

Description Usage Arguments Details Value See Also Examples

Description

Drop some parameters (columns) in the training set.

Usage

1
dropTrainSetVars(dat, VarToDrop)

Arguments

dat

data.frame containing the features of each prototype associated to a class.

VarToDrop

character vector specifying variables to drop from the training set.

Details

dropTrainSetVars drops some parameters (columns) in the training set

Value

dat data.frame containing the kept features of each prototype associated to a class.

See Also

readTrainSet

Examples

1
2
3
4
5
rep <- system.file("extdata", package="RclusTool")
traindir <- file.path(rep, "train_example")

train <- readTrainSet(traindir)
train <- dropTrainSetVars(train, c("Id", "i..ID", "ArrivalTime", "X"))

RclusTool documentation built on Feb. 4, 2020, 5:08 p.m.