When some sites in the parent-child table have multiple nodes, this function incorporates those nodes into the parent-child table, expanding it so that the parent and child locations now refer to nodes, not sites.
addParentChildNodes(
parent_child = NULL,
configuration = NULL,
array_suffix = c("UD", "UMD", "A0B0")
)dataframe produced by `buildParentChild()`.
a configuration dataframe, such as one built by `buildConfig()`.
if node_assign = "array", should nodes uses the suffixes of _U & _D (UD),
_U, _M, & _D (UMD), or _A0 & _B0 (A0B0) to denote upstream, middle, and downstream arrays, respectively.
Default is UD. If array_suffix = "UD" or array_suffix = "A0B0", the middle array is grouped
with the upstream array.
addParentChildNodes()
#> Error in addParentChildNodes(): !is.null(parent_child) is not TRUE