Description Usage Arguments Value
Recursively applies a function down the nodes of a Gaussian RPMM tree.
1 2 | glcTreeApply(tr, f, start = "root", terminalOnly = FALSE,
asObject = TRUE, ...)
|
tr |
Tree object to recurse |
f |
Function to apply to every node |
start |
Starting node. Default = “root”. |
terminalOnly |
|
asObject |
|
.
In the latter case, f
should be defined as f <- function(nn,tree){...}
.
... |
Additional arguments to pass to |
A list of results; names of elements are names of nodes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.