tree_root | R Documentation |
This function takes a tree created by tree_new()
and returns the root node
containing all subsequent nodes.
tree_root(x)
x |
A tree created by |
A node corresponding to the root of the abstract syntax tree
src <- "x <- rnorm(100, mean = 2)
any(duplicated(y))
plot(x)
any(duplicated(x))"
tree <- tree_new(src)
tree_root(tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.