Get number of subtaxa for each taxon in an object of type taxonomy() or taxmap()
taxonomy()
taxmap()
obj$n_subtaxa() n_subtaxa(obj)
(taxonomy() or taxmap())
numeric
Other taxonomy data functions: id_classifications, is_branch, is_leaf, is_root, is_stem, map_data, n_subtaxa_1, n_supertaxa, name_classifications, taxon_ids, taxon_indexes, taxon_names, taxon_ranks
id_classifications
is_branch
is_leaf
is_root
is_stem
map_data
n_subtaxa_1
n_supertaxa
name_classifications
taxon_ids
taxon_indexes
taxon_names
taxon_ranks
# NOT RUN { n_subtaxa(ex_taxmap) # }
Run the code above in your browser using DataCamp Workspace