# calculates fossil diversity through time
div1 <- calcFossilDivTT(trilob_fossil, method = "stdmethod")
div2 <- calcFossilDivTT(ammonoidea_fossil, method = "stdmethod", bin.reso = 10)
# Comparing different bins sizes in the standard method
plot(x = div1$age, y = div1$div, type = "l",
xlab = "Time (Mya)", ylab = "Richness",
xlim = rev(range(div1$age)), col = "red")
lines(x = div2$age, y = div2$div, col = "blue")class : SpatRaster
size : 84, 185, 1 (nrow, ncol, nlyr)
resolution : 2, 2 (x, y)
extent : -180, 190, -85.19218, 82.80782 (xmin, xmax, ymin, ymax)
coord. ref. : lon/lat WGS 84 (CRS84) (OGC:CRS84)
source(s) : memory
name : sum
min value : 1
max value : 1793
class : SpatRaster
size : 84, 185, 1 (nrow, ncol, nlyr)
resolution : 2, 2 (x, y)
extent : -180, 190, -85.19218, 82.80782 (xmin, xmax, ymin, ymax)
coord. ref. : lon/lat WGS 84 (CRS84) (OGC:CRS84)
source(s) : memory
name : sum
min value : 1
max value : 34
[Vignette examples] (https://github.com/lmartinezgt/The-Evolved-Package-EX) by Lilianna_Martinez1@baylor.edu Github @lmartinezgt
CRAN (https://cran.r-project.org/web/packages/evolved/index.html)
Januario M, Auler J, Viol A, Rabosky D (2026). evolved: Open Software for Teaching Evolutionary Biology at Multiple Scales Through Virtual Inquiries. R package version 1.0.0, https://github.com/mjanuario/evolved.