addParentChildNodes: Add Nodes to Parent-Child Table

View source: R/addParentChildNodes.R

addParentChildNodesR Documentation

Add Nodes to Parent-Child Table

Description

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.

Usage

addParentChildNodes(
  parent_child = NULL,
  configuration = NULL,
  array_suffix = c("UD", "UMD", "A0B0")
)

Arguments

parent_child

dataframe produced by 'buildParentChild()'.

configuration

a configuration dataframe, such as one built by 'buildConfig()'.

array_suffix

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.

Author(s)

Kevin See

Examples

addParentChildNodes()

BiomarkABS/PITcleanr documentation built on Feb. 22, 2025, 9:21 a.m.