View source: R/plotRawFossilOccs.R
plotRawFossilOccs | R Documentation |
plotRawFossilOccs
calculates and plots the early and late boundaries
associated with each taxa in a dataset.
plotRawFossilOccs(
data,
tax.lvl = NULL,
sort = TRUE,
use.midpoint = TRUE,
return.ranges = FALSE,
knitr = FALSE
)
data |
A |
tax.lvl |
A |
sort |
|
use.midpoint |
|
return.ranges |
|
knitr |
Logical indicating if plot is intended to show up in RMarkdown files made by the |
Plots a pile of the max-min temporal ranges of the chosen
tax.lvl
. This usually will be stratigraphic ranges for occurrences
(so there is no attempt to estimate "true" ranges), and if
tax.lvl = NULL
(the default), occurrences are drawn as ranges of
stratigraphic resolution (= the fossil dating imprecision). If
return.ranges = TRUE
, it returns a data.frame
containing the
diversity (column div
) of the chosen taxonomic level, through time.
Matheus Januario, Jennifer Auler
data("dinos_fossil")
oldpar <- par(no.readonly = TRUE)
par(mfrow=c(1,2))
plotRawFossilOccs(dinos_fossil, tax.lvl = "species", knitr = TRUE)
plotRawFossilOccs(dinos_fossil, tax.lvl = "genus", knitr = TRUE)
par(oldpar)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.