traverse | R Documentation |
Recursively traverse an object
traverse(
x,
.f = list,
.g = identity,
.h = identity,
base = function(.x) is_syntactic_literal(.x) || is_symbol(.x)
)
x |
The object to traverse |
.f |
A function for combining the recursed components |
.g |
A function applied to the object before recursion |
.h |
A function applied to the base case |
base |
The base case for the recursion |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.