Learn R Programming

RclusTool (version 0.91.6)

dropTrainSetVars: Parameters dropping

Description

Drop some parameters (columns) in the training set.

Usage

dropTrainSetVars(dat, VarToDrop)

Value

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

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

See Also

readTrainSet

Examples

Run this code

rep <- system.file("extdata", package="RclusTool")
traindir <- file.path(rep, "train_example")

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

Run the code above in your browser using DataLab