is_taxon_rank {taxa}R Documentation

Check if something is a taxon_rank

Description

Check if an object is of the taxon_rank class

Usage

is_taxon_rank(x)

Arguments

x

An object to test

Examples

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


[Package taxa version 0.4.3 Index]