Description Usage Arguments Details Value Author(s) Examples
View source: R/constrainAges.R
Assign fossil occurrences to different intervals within a geologic timescale, then remove occurrences that are not temporally constrained to a single interval within that timescale.
1 2 3 | constrainAges(Data, Timescale)
multiplyAges(Data, Timescale)
|
Data |
A data frame |
Timescale |
A data frame |
Cull a paleobiology database data frame to only occurrences temporally constrained to be within a certain level of the geologic timescale (e.g., period, epoch). The geologic timescale should come from the Macrostrat database, but custom time-scales can be used if structured in the same way. See downloadTime
for how to download a timescale.
A data frame
Andrew A. Zaffos
1 2 3 4 5 6 7 8 9 10 11 | # Download a test dataset of Cenozoic bivalves.
# DataPBDB<-downloadPBDB(Taxa="Bivalvia",StartInterval="Cenozoic",StopInterval="Cenozoic")
# Download the international epochs timescale from macrostrat.org
# Epochs<-downloadTime("international epochs")
# Find only occurrences that are temporally constrained to a single international epoch
# ConstrainedPBDB<-constrainAges(DataPBDB,Timescale=Epochs)
# Create mutliple instances of a single occurrence for each epoch it occurs in
# MultipliedPBDB<-multiplyAges(DataPBDB,Timescale=Epochs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.