Learn R Programming

taxa (version 0.4.3)

is_taxon_rank: 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

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

Run the code above in your browser using DataLab