is_taxon_rank: Check if something is a taxon_rank

Description Usage Arguments Examples

View source: R/taxon_rank.R

Description

Check if an object is of the taxon_rank class

Usage

1

Arguments

x

An object to test

Examples

1
2
3
x <- taxon_rank(c('species', 'species', 'phylum', 'family'))
is_taxon_rank(x)
is_taxon_rank(1:3)

zachary-foster/taxa2 documentation built on Jan. 1, 2021, 1:48 p.m.