getChild: Returns the children of a particular variety (if they exist)

Description Usage Arguments Examples

Description

This function returns zero or more values that indicate the children of the inputted variety.

Usage

1
getChild(v1, tree)

Arguments

v1

the label of the variety/vertex of interest (in character string format)

tree

the data tree (in data frame format)

Examples

1
2
3
data(sbTree)
getChild("Tokyo", sbTree)
getChild("Essex", sbTree)

dicook/phyViz documentation built on May 15, 2019, 8:24 a.m.