gethier: Get hierarchy as a data.frame

View source: R/gethier.R

gethierR Documentation

Get hierarchy as a data.frame

Description

Get hierarchy as a data.frame

Usage

gethier(x)

Arguments

x

An object of class taxon

Examples

bin <- binomial("Poa", "annua", authority="L.")
class <- grouping(kingdom=taxonref("kingdom", "Plantae"),
   species=taxonref("family", "Poaceae"))
out <- taxon(bin, class)
# get hierarchy as data.frame
gethier(out)

ropensci/binomen documentation built on May 18, 2022, 9:47 a.m.