This function simulates a biogeographical history during a speciation/cladogenesis range inheritance event, given a cladogenesis probability transition matrix and a starting state.
given_a_starting_state_simulate_split(index_Qmat_0based_of_starting_state = 1, COO_probs_columnar, numstates)
index value, between 0 and
transition matrix, in COO-like form, as produced by
The number of states/geographic ranges.
split_desc 0-based indices of the descendant
states in the two daughters.
Nicholas J. Matzke [email protected]
Loading required package: rexpokit Loading required package: cladoRcpp Loading required package: ape Loading required package: phylobase Attaching package: 'phylobase' The following object is masked from 'package:ape': edges
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.