Learn R Programming

binomen (version 0.1.2)

taxon: A class to represent a single taxon

Description

A class to represent a single taxon

Usage

taxon(binomial, grouping)

Arguments

binomial
A binomial name
grouping
A grouping object

Examples

Run this code
bin <- binomial("Poa", "annua", authority="L.")
class <- grouping(kingdom=taxonref("kingdom", "Plantae"),
   species=taxonref("family", "Poaceae"))
taxon(bin, class)

# many names input
splist <- c('Litsea bindoniana', 'Rubus ghanakantae', 'Desmanthus palmeri',
 'Leptinella longipes', 'Asarum sakawanum', 'Cistanche compacta',
 'Ormosia nanningensis', 'Claoxylon physocarpum', 'Hedycarya arborea',
 'Hypnum gracile')
lapply(splist, binomial)

Run the code above in your browser using DataLab