get_father {DASC} | R Documentation |
Representing node in this subtype
get_father(v, X)
v |
the index of the node |
X |
the saved vector with the information of the parent of every node |
r
the parent index of the node
Haidong Yi, Ayush T. Raman
nodes <- c(2,3,4,4) get_father(2, nodes)