# loading data
data("Cetacea")
data("taxo_cetacea")
data("shifts_cetacea")
# no shifts tested at genus level
taxo_cetacea_no_genus <- taxo_cetacea[names(taxo_cetacea) != "Genus"]
f_cetacea <- get.sampling.fractions(phylo = Cetacea, lad = FALSE,
data = taxo_cetacea_no_genus,
plot = TRUE, cex = 0.3)
# use of paleodiv
paleodiversity <- paleodiv(phylo = Cetacea,
data = taxo_cetacea_no_genus,
sampling.fractions = f_cetacea,
shift.res = shifts_cetacea,
combi = 1, split.div = FALSE)
Run the code above in your browser using DataLab