View source: R/pbdb_taxonomic_functions.R
pbdb_subtaxa | R Documentation |
Count the number of taxa (species, genera, families, orders, classes, and phyla) in an occurrence data frame.
pbdb_subtaxa(data, do_plot = TRUE, col = "#0000FF")
data |
Data frame from a query to PaleobioDB as returned by
the |
do_plot |
Logical indicating whether to produce a plot ( |
col |
Colour of the histogram. |
A data frame with the number of subtaxa in the data.
## Not run:
canidae_quat <- pbdb_occurrences(
limit = "all", base_name = "Canidae", interval = "Quaternary",
show = c("coords", "classext", "ident"), vocab = "pbdb"
)
pbdb_subtaxa(canidae_quat)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.