dropTrainSetVars | R Documentation |
Drop some parameters (columns) in the training set.
dropTrainSetVars(dat, VarToDrop)
dat |
data.frame containing the features of each prototype associated to a class. |
VarToDrop |
character vector specifying variables to drop from the training set. |
dropTrainSetVars drops some parameters (columns) in the training set
dat data.frame containing the kept features of each prototype associated to a class.
readTrainSet
rep <- system.file("extdata", package="RclusTool")
traindir <- file.path(rep, "train_example")
train <- readTrainSet(traindir)
train <- dropTrainSetVars(train, c("Id", "i..ID", "ArrivalTime", "X"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.