condprob_dp_absorb: Auxilary function for cond_prob_p, computing rhs

Description Usage Arguments Author(s)

View source: R/mbd_condprob.R

Description

Auxilary function for cond_prob_p, computing rhs

Usage

1
condprob_dp_absorb(pvec, lambda, mu, nu, nu_matrix, m1, m2, empty_mat, t)

Arguments

pvec

a vector of probabilities P

lambda

the sympatric speciation rate.

mu

the extinction rate.

nu

the multiple allopatric speciation trigger rate.

nu_matrix

matrix for the nu component. Component m,n is equal to choose(n, m - n) x q ^ (m - n) x (1 - q) ^ (2 * n - m)

m1

a matrix keeping track of columns

m2

a matrix keeping track of rows

empty_mat

an empty matrix

t

time

Author(s)

Giovanni Laudanno, Bart Haegeman


Giappo/mbd documentation built on March 3, 2020, 3:36 a.m.