tn_pan {taxnames}R Documentation

Print formatted names for parents

Description

Displaying names of parent taxa.

Suffixes in the function names are explained as follows:

Usage

tn_pfn(x, level, ...)

tn_pfna(x, level, ...)

tn_pfnas(x, level, ...)

tn_pan(x, level, ...)

tn_pana(x, level, ...)

Arguments

x

A vector containing selected identifiers for taxon concepts (TaxonConceptID) included in the internal taxonomic object (see set_tax()).

level

A character value indicating the taxon rank set for parent taxa. I is passed to taxlist::parents().

...

Further arguments passed to taxlist::print_name().

Value

All these functions return a character value.

Examples

## Compare all these outputs
tn_pfn(13, "family")
tn_pfna(13, "family")
tn_pfnas(13, "family")
tn_pan(13, "family")
tn_pana(13, "family")

[Package taxnames version 0.1.0 Index]