getYear: Determine the year of a variety

Description Usage Arguments Examples

Description

Returns the documented year of the inputted variety

Usage

1
getYear(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)
getYear("Essex",sbTree)
getYear("Tokyo",sbTree)

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