get_father {DASC}R Documentation

Representing node in this subtype

Description

Representing node in this subtype

Usage

get_father(v, X)

Arguments

v

the index of the node

X

the saved vector with the information of the parent of every node

Value

r the parent index of the node

Author(s)

Haidong Yi, Ayush T. Raman

Examples

nodes <- c(2,3,4,4)
get_father(2, nodes)


[Package DASC version 1.1.0 Index]