is_stem {taxa} | R Documentation |
Check if taxa are stems
Description
Check if each taxon is a stem. A stem is any taxa from a root to the first taxon with multiple subtaxa.
Usage
is_stem(x)
Arguments
x |
An object with taxonomic relationships, like taxonomy objects. |
See Also
Other stem functions:
stems()
Examples
x <- taxonomy(c('Carnivora', 'Felidae', 'Panthera', 'Panthera leo',
'Panthera tigris'),
supertaxa = c(NA, 1, 2, 3, 3))
is_stem(x)
[Package taxa version 0.4.3 Index]