set_parent: Set Parent of an RStatic Object

View source: R/copy.R

set_parentR Documentation

Set Parent of an RStatic Object

Description

This function sets the parent field for the given RStatic object or list of RStatic objects.

Usage

set_parent(node, parent)

Arguments

node

The object on which to set the parent.

parent

The new parent for node.

Details

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.


nick-ulle/rstatic documentation built on May 14, 2024, 8:10 p.m.