simulate_biogeog_history(phy, Qmat, COO_probs_columnar, index_Qmat_0based_of_starting_state)
phylo
object.rcpp_calc_anclikes_sp_COOweights_faster
.(numstates-1)
, which
specifies what state will be the starting point for the
simulation.simulated_states_by_node
A numeric matrix, giving
the 0-based index of the state at each node and tip in
the simulated history. Getting a more detailed history
would require a version of stochastic mapping
(Huelsenbeck et al. (2003), Bollback
(2005), Bollback (2006)), but customized for the
nonreversible and cladogenic aspects of biogeographical
range evolution models.
Huelsenbeck_etal_2003_stochastic_mapping
Bollback_2005
Bollback_2006_SIMMAP
Matzke_2012_IBS
rcpp_calc_anclikes_sp_COOweights_faster