getVariable: Determine the date of a variety

Description Usage Arguments References Examples

View source: R/allFunctions.R

Description

Returns the documented date of the inputted variety

Usage

1
getVariable(v1, geneal, colName)

Arguments

v1

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

geneal

the full genealogy (in data frame format)

colName

the name of the column of the data frame that contains the quantitative variable of interest (in character string format)

References

Rutter L, VanderPlas S, Cook D, Graham MA (2019). ggenealogy: An R Package for Visualizing Genealogical Data. Journal of Statistical Software, 89(13), 1–31. doi: 10.18637/jss.v089.i13

Examples

1
2
3
data(sbGeneal)
getVariable("Essex", sbGeneal, "devYear")
getVariable("Tokyo", sbGeneal, "yield")

ggenealogy documentation built on March 26, 2020, 9:25 p.m.