traverse | R Documentation |
Apply a function hierarchically to a forest in the climbing or descending direction.
traverse(.x, .f, ..., .climb = FALSE)
.x |
A forest |
.f |
A function, formula, or vector (not necessarily atomic). |
... |
Additional arguments passed on to the mapped function. |
.climb |
Climbing or descending? |
A forest.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.