n_obs: Count observations in taxmap
Description
Count observations for each taxon in taxmap
.
This includes observations for the specific taxon and its subtaxa.
Usage
n_obs(obj, subset = 1:nrow(obj$taxon_data))
Arguments
subset
(character
) The taxon_ids
or indexes in taxon_data
to get counts for.