geneal4pam: constructs the genealoty of a given node

Description Usage Arguments Value Examples

View source: R/f0.g4n1.code.r

Description

(ba) This function constructs the genealoty of a given node, that is returns the graph of all ascendants (descendants) starting from this node.

Usage

1
geneal4pam(pam, i, asc=TRUE)

Arguments

pam

The pam matrix describing the parentship.

i

The considered node.

asc

must ascendants be looked for, if not the descendants.

Value

an arc object describing the obtained tree

Examples

1
2
 g4n3k("RESET"); # needed only for R checking, to be forgotten
 geneal4pam(g4n.pam1, 2);

g4n documentation built on May 2, 2019, 5:47 p.m.

Related to geneal4pam in g4n...