getLeafs | R Documentation |
Get a list of all leafs in a tree by recursively searching the tree starting
at the given node (if not data
object is given. If data
is
given, the function returns the leafs that are predicted for each row of the
given data.
getLeafs(tree, data = NULL)
tree |
A |
data |
A |
Andreas M. Brandmaier
Brandmaier, A.M., Oertzen, T. v., McArdle, J.J., & Lindenberger, U. (2013). Structural equation model trees. Psychological Methods, 18(1), 71-86.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.