mapply_likelihoods(Qmat, phy2, transpose_needed)
independent_likelihoods_on_each_branch
The output
matrix of the likelihoods for each state on each branch.
rexpokit
function
expokit_dgpadm_Qmat
. It is also
possible to byte-compile everything during package
installation (via ByteCompile: true
in the
DESCRIPTION file), which is implemented in
BioGeoBEARS
, so this may be redundant. mapply_likelihoods_prebyte
gets
byte-compiled into mapply_likelihoods
.
See http://dirk.eddelbuettel.com/blog/2011/04/12/
for discussion of the compile
package.
Matzke_2012_IBS
mapply
,
expokit_dgpadm_Qmat
,
expokit_dgpadm_Qmat2
,
compile
,
cmpfun