View source: R/prune.addtree.R
prune.addtree | R Documentation |
Prune an AddTree tree in Node format using data.tree
to remove sister nodes with same
class estimate.
prune.addtree(
addtree,
prune.empty.leaves = TRUE,
remove.bad.parents = TRUE,
verbose = TRUE
)
addtree |
rtMod trained with s_AddTree |
prune.empty.leaves |
Logical: If TRUE, remove leaves with 0 cases. |
remove.bad.parents |
Logical: If TRUE, remove nodes with no siblings but children and give their children to their parent. |
verbose |
Logical: If TRUE, print messages to console. |
E.D. Gennatas
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.