View source: R/PreProcessing.R
preProcess | R Documentation |
This function arranges the data in the required format and displays error messages.
preProcess( data, x, y, numStop = 5, fold = 5, max.depth = NULL, max.leaves = NULL, na.rm = TRUE )
data |
|
x |
Column input indexes in data. |
y |
Column output indexes in data. |
numStop |
Minimum number of observations in a node for a split to be attempted. |
fold |
Set of number of folds in which the dataset to apply cross-validation during the pruning is divided. |
max.depth |
Depth of the tree. |
max.leaves |
Maximum number of leaf nodes. |
na.rm |
|
It returns a data.frame
in the required format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.