plot_dprofile {fossilbrush} | R Documentation |
plot_dprofile
Description
Function to plot density profiles of occurrences through time using the output of @seealso densify.
Usage
plot_dprofile(x, taxon, exit = TRUE)
Arguments
x |
The list output of @seealso densify |
taxon |
A character vector of length one, specifying one of the taxon names in x to be plotted |
exit |
Restore base plotting parameters on function exit (default as a requirement for CRAN). Can be set to false to allow other elements to be aded to a plot |
Value
NULL, the plotted density profile
Examples
# load dataset
data("brachios")
# subsample brachios to make for a short example runtime
set.seed(1)
brachios <- brachios[sample(1:nrow(brachios), 1000),]
# densify ranges
dens <- densify(brachios)
plot_dprofile(dens, "Atrypa")
[Package fossilbrush version 1.0.5 Index]