Package: divDyn 0.8.3

Adam T. Kocsis

divDyn: Diversity Dynamics using Fossil Sampling Data

Functions to describe sampling and diversity dynamics of fossil occurrence datasets (e.g. from the Paleobiology Database). The package includes methods to calculate range- and occurrence-based metrics of taxonomic richness, extinction and origination rates, along with traditional sampling measures. A powerful subsampling tool is also included that implements frequently used sampling standardization methods in a multiple bin-framework. The plotting of time series and the occurrence data can be simplified by the functions incorporated in the package, as well as other calculations, such as environmental affinities and extinction selectivity testing. Details can be found in: Kocsis, A.T.; Reddin, C.J.; Alroy, J. and Kiessling, W. (2019) <doi:10.1101/423780>.

Authors:Adam T. Kocsis [cre, aut], John Alroy [aut], Carl J. Reddin [aut], Wolfgang Kiessling [aut], Deutsche Forschungsgemeinschaft [fnd], FAU GeoZentrum Nordbayern [fnd]

divDyn_0.8.3.tar.gz
divDyn_0.8.3.tar.gz(r-4.5-noble)divDyn_0.8.3.tar.gz(r-4.4-noble)
divDyn_0.8.3.tgz(r-4.4-emscripten)divDyn_0.8.3.tgz(r-4.3-emscripten)
divDyn.pdf |divDyn.html
divDyn/json (API)
NEWS

# Install 'divDyn' in R:
install.packages('divDyn', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/divdyn/r-package/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • corals - Fossil occurrences of scleractinian (stony) corals from the Paleobiology Database
  • keys - Keys to process stratigraphic, environmental and lithological information from the Paleobiology Database
  • stages - 95 bin Phanerozoic time scale based on the stratigraphic stages of Gradstein et al. 2020.
  • stages2018 - 95 bin Phanerozoic time scale based on the stratigraphic stages of Ogg et al. (2016) with updated dates in some intervals (2018).
  • stratkeys - The FossilWorks-based lookup table for the stratigraphic assignments of collections in the Paleobiology Database
  • tens - The 10 million year resolution timescale of the Paleobiology Database

cpp

3.83 score 134 scripts 596 downloads 1 mentions 32 exports 1 dependencies

Last updated 4 days agofrom:1ebaf8dce7. Checks:OK: 1 WARNING: 1. Indexed: no.

TargetResultDate
Doc / VignettesOKNov 25 2024
R-4.5-linux-x86_64WARNINGNov 25 2024

Exports:affinitybinstatcategorizecleanspcollapsedivDynfadladfillgeorangeindicesmatchtimemodeltabomitpartsrangesratesplitrepmatchseqduplicatedshadessingletonsslicestreaklogsubsamplesubtrialCRsubtrialOXWsubtrialSQSsumstatsurvivorstabinatetsbarstsplotwhichmaxstreak

Dependencies:Rcpp

Handout to the R package divDyn v0.8.3 for diversity dynamics using fossil sampling data

Rendered fromhandout_pdf.Rmdusingknitr::rmarkdownon Nov 25 2024.

Last update: 2024-11-21
Started: 2024-11-21

Readme and manuals

Help Manual

Help pageTopics
Environmental affinities of taxaaffinity
Sampling statistics and diversity indices in every binbinstat
Mapping multiple entries to categoriescategorize
Cleanse Species Name Vectorcleansp
Fossil occurrences of scleractinian (stony) corals from the Paleobiology Databasecorals
Time series from metrics of diversity dynamicsdivDyn
FAD - LAD matrix from occurrence datafadlad
Filling of missing values in a vector, based on the marginal values of the gapsfill
Estimation of geographic ranges from occurrence datageorange
Scalar indices of diversityindices
Keys to process stratigraphic, environmental and lithological information from the Paleobiology Databasekeys
Match the dates of a time-dependent variable with a predefined vectormatchtime matchtime,character-method matchtime,list-method matchtime,numeric-method
Origination/extinction response table for statistical modelling.modeltab
Omission of taxa that have a poor occurrence recordomit
Plot time series counts or proportions as polygonsparts
Plotting ranges and occurrence distributions through timeranges
Test of rate split (selectivity)ratesplit
Replicate matching and mergingrepmatch
Determination and omission of consecutive duplicates in a vector.collapse seqduplicated
Quantile plot of time seriesshades
List of singleton taxasingletons
Discretization of continuous time dimension - slicingslice
95 bin Phanerozoic time scale based on the stratigraphic stages of Gradstein et al. 2020.stages
95 bin Phanerozoic time scale based on the stratigraphic stages of Ogg et al. (2016) with updated dates in some intervals (2018).stages2018
The FossilWorks-based lookup table for the stratigraphic assignments of collections in the Paleobiology Databasestratkeys
Utility functions for slicing gappy time seriesstreaklog whichmaxstreak
Subsampling wrapper functionsubsample
Subsampling trial functionssubtrialCR subtrialOXW subtrialSQS
Occurrence database summarysumstat
Proportions of survivorshipsurvivors
Apply function to TAxon/BIN subset of occurrences and iterATEtabinate
The 10 million year resolution timescale of the Paleobiology Databasetens
Function to plot a series a values with bars that have variable widthstsbars
Time series plotting using a custom time scaletsplot