get_father: Representing node in this subtype

View source: R/DASC.R

get_fatherR 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)


aayushraman/DASC documentation built on May 9, 2023, 12:03 a.m.