taxonref: A class to represent a taxonomic reference

View source: R/s3methods.R

taxonrefR Documentation

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

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))

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