Learn R Programming

binomen (version 0.1.2)

gethier: Get hierarchy as a data.frame

Description

Get hierarchy as a data.frame

Usage

gethier(x)

Arguments

x
An object of class taxon

Examples

Run this code
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)

Run the code above in your browser using DataLab