# \donttest{
# loading data
data("Cetacea")
data("taxo_cetacea")
# whole procedure
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)
comb.shift_cetacea <- get.comb.shift(phylo = Cetacea,
data = taxo_cetacea_no_genus,
sampling.fractions = f_cetacea,
Ncores = 4)
shifts_cetacea <- shift.estimates(phylo = Cetacea,
data = taxo_cetacea_no_genus,
sampling.fractions = f_cetacea,
comb.shift = comb.shift_cetacea,
models = c("BCST","BCST_DCST","BVAR",
"BVAR_DCST","BCST_DVAR"),
backbone.option = "crown.shift",
Ncores = 4)
# }
Run the code above in your browser using DataLab