isChild: Determine if a variety is a child of another

Description Usage Arguments Examples

Description

Returns a boolean variable for whether the first variety is a child of the second variety

Usage

1
isChild(child, parent, tree)

Arguments

child

possible child variety

parent

possible parent variety

tree

the data tree (in data frame format)

Examples

1
2
3
data(sbTree)
isChild("Essex","Young",sbTree)
isChild("Young","Essex",sbTree)

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