Learn R Programming

taxa (version 0.4.3)

is_taxon: Check if something is a taxon object

Description

Check if an object is of the taxon class

Usage

is_taxon(x)

Arguments

x

An object to test

Examples

Run this code
x <- taxon(c('A', 'B', 'C'))
is_taxon(x)
is_taxon(1:2)

Run the code above in your browser using DataLab