set_parent | R Documentation |
This function sets the parent field for the given RStatic object or list of RStatic objects.
set_parent(node, parent)
node |
The object on which to set the parent. |
parent |
The new parent for |
If node
is an RStatic object, then set_parent(node, parent)
is
equivalent to node$parent = parent
.
If node
is a list, set_parent
is called on each element.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.