Learn R Programming

ggenealogy (version 0.2.0)

isParent: Determine if a variety is a parent of another

Description

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

Usage

isParent(child, parent, geneal)

Arguments

child
possible child variety
parent
possible parent variety
geneal
the full genealogy (in data frame format)

Examples

Run this code
data(sbGeneal)
isParent("Essex", "Young", sbGeneal)
isParent("Young", "Essex", sbGeneal)

Run the code above in your browser using DataLab