Description Usage Arguments Details Value Examples
This function is to find a optimal tree size
1 | optimal_size(formula, data, npc = NULL, n_folds = 5)
|
formula |
Formula of model fitted |
data |
All the data |
npc |
Number of PCs |
n_folds |
Number of folds in cross-validation |
This function is used to determine the optimal size of a tree fit. See ?FunFor, the main function, for example.
An integer for optimal tree size.
1 | optimal_size(Y ~ ., data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.