Description Usage Arguments Details Value Note Author(s) References Examples
View source: R/BioGeoBEARS_basics_v1.R
normat
normalizes a square transition matrix, such
that each row sums to 0, and the diagonal equals the
negative of the sum of the rest of the cells in the row.
This matrix can then be exponentiated by values of
t
(time or another measure of branch length) to
produce transition probabilities for any given value of
t
.
1 | normat(relative_matrix)
|
relative_matrix |
A square matrix giving the relative probabilities/weights of transitions. |
See Foster (2001) for a succinct summary of transition matrices and their exponentiation.
m
A Q matrix, i.e. normalized transition matrix
(Qmat)
Go BEARS!
Nicholas J. Matzke matzke@berkeley.edu
http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster https://code.google.com/p/lagrange/
FosterIdiots
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.