Learn R Programming

binomen (version 0.1.2)

taxonref: A class to represent a taxonomic reference

Description

A class to represent a taxonomic reference

Usage

taxonref(rank = "none", name = "none", id = "none", uri = "none")

Arguments

rank
(character) Taxonomic rank
name
(character) A name
id
(character,numeric) Identifier
uri
(character) Source of name

Examples

Run this code
taxonref("genus", "Poa", 56, "http://scottchamberlain.info/")

# 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, function(x) taxonref("species", name = x))

Run the code above in your browser using DataLab