Description Usage Arguments Details Value
buildDT
builds a model using the rpart
function
from the rpart
package.
1 |
object |
An |
top |
A numeric scalar or character vector. A numeric scalar indicates
the number of top features that should undergo feature selection. A character vector
indicates specifically which features by name should undergo feature selection.
Set |
... |
Arguments passed to the detailed function. |
Provide cp
as a numeric scalar to trim the rpart
decision tree.
If provided, this argument is passed to the rpart::prune
function.
Set cp = 0
to skip pruning (default behavior).
Returns an ExprsModel
object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.