Closed dan-knight closed 1 year ago
Closes #45. This checks for a valid root node (parent value NA, 0, or -1) and raises an error if an invalid tree structure is provided (no root node, or more than one root node).
NA
0
-1
Closes #45. This checks for a valid root node (parent value
NA
,0
, or-1
) and raises an error if an invalid tree structure is provided (no root node, or more than one root node).