plotRawFossilOccs {evolved} | R Documentation |
Plot a literal interpretation of a fossil record
Description
plotRawFossilOccs
calculates and plots the early and late boundaries
associated with each taxa in a dataset.
Usage
plotRawFossilOccs(
data,
tax.lvl = NULL,
sort = TRUE,
use.midpoint = TRUE,
return.ranges = FALSE,
knitr = FALSE
)
Arguments
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 |
Value
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.
Author(s)
Matheus Januario, Jennifer Auler
Examples
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)