change_parent: Change parent object
Description
![[Stable]](figures/lifecycle-stable.svg?package=NMproject&version=0.6.9)
When a child()
has been created by a modified parent sometimes adoption is
the answer. This will force parenthood to the specified object.
Usage
change_parent(m, mparent, silent = TRUE)
Value
An nm object with modified parent_*
fields.
Arguments
- m
An nm object.
- mparent
New parent object to child.
- silent
Logical (default = TRUE
). Should warn if conflicts detected.