Description Usage Arguments Value Examples
For example, if our tree structure is given by
list(a = list(b = 1, c = 2))
then calling find('a/b')
on the root node will return 1
.
1 | treeSkeleton__find(key)
|
key |
character. The key to find in the given tree structure,
whether nodes are named by their name in the |
the subtree or terminal node with the given key.
1 2 3 4 5 | ## Not run:
sr <- stageRunner$new(new.env(), list(a = list(force, list(b = function(x) x + 1))))
stagerunner:::treeSkeleton$new(sr)$find('a/2/b') # function(x) x + 1
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.