Description Usage Arguments Value Note Author(s) References See Also Examples
View source: R/BioGeoBEARS_simulate_v1.R
This function simulates a biogeographical history during a speciation/cladogenesis range inheritance event, given a cladogenesis probability transition matrix and a starting state.
1 2 | given_a_starting_state_simulate_split(index_Qmat_0based_of_starting_state = 1,
COO_probs_columnar, numstates)
|
index_Qmat_0based_of_starting_state |
An integer
index value, between 0 and |
COO_probs_columnar |
A speciation/cladogenesis
transition matrix, in COO-like form, as produced by
|
numstates |
The number of states/geographic ranges. |
split_desc
0-based indices of the descendant
states in the two daughters.
Go BEARS!
Nicholas J. Matzke matzke@berkeley.edu
http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster https://code.google.com/p/lagrange/
Matzke_2012_IBS
Matzke_Maguire_2011_SVP
rcpp_calc_anclikes_sp_COOweights_faster
,
rcpp_calc_rowsums_for_COOweights_columnar
1 | testval=1
|
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.