RT Journal Article SR Electronic T1 The R package divDyn for quantifying diversity dynamics using fossil sampling data JF bioRxiv FD Cold Spring Harbor Laboratory SP 423780 DO 10.1101/423780 A1 Kocsis Á. T. A1 Reddin C. J. A1 Alroy J. A1 Kiessling W. YR 2018 UL http://biorxiv.org/content/early/2018/09/23/423780.abstract AB Unbiased time series of diversity dynamics are vital for quantifying the grand history of life. Applications include identifying ancient mass extinctions and inferring both biotic and abiotic controls on diversification rates.We introduce divDyn, a new R package that facilitates the calculation of taxonomic richness, extinction and origination rates from time-binned fossil sampling data. State-of-the-art sampling completeness metrics, counting protocols, and sampling standardisation functions permit the reconstruction of biologically meaningful time series. Additional functions permit the partitioning of turnover rates by trait and environmental affinity.We display Phanerozoic-scale diversity dynamics of marine invertebrates using the divDyn package. Using the core function and standard subsampling options, we revisit earlier assessments of declining extinction and origination rates over time and of equilibrial diversity dynamics to assess their methodological dependency.The modular and fast implementation of published methods ensures traceability, reproducibility, and comparability of future studies.