get_father: Representing node in this subtype

Description Usage Arguments Value Author(s) Examples

View source: R/DASC.R

Description

Representing node in this subtype

Usage

1
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

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

DASC documentation built on Nov. 17, 2017, 9:36 a.m.