is_taxonomy | R Documentation |
Check if an object is of the taxonomy class
is_taxonomy(x)
x |
An object to test |
x <- taxonomy(c('Carnivora', 'Felidae', 'Panthera', 'Panthera leo', 'Panthera tigris', 'Ursidae', 'Ursus', 'Ursus arctos'), supertaxa = c(NA, 1, 2, 3, 3, 1, 6, 7)) is_taxonomy(x) is_taxonomy(1:2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.