combine_pns_nodiv: Combine pn in the old wrong way

Description Usage Arguments Value Author(s)

View source: R/sls_convolutions.R

Description

Convolves all the processes before the shift and imposes the death before the present of all species that are not visible in the phylogeny. It doesn't divide by N. Used to check on old models.

Usage

1
combine_pns_nodiv(lambda, mu, times, tbar, n_max = 100, fun = sls::pn_bar)

Arguments

lambda

speciation rate

mu

extinction rate

times

times

tbar

time left from shift time to the present

n_max

maximum number of lineages to consider

fun

a function

Value

Convolution of the probabilities for all the processes

Author(s)

Giovanni Laudanno


Giappo/sls documentation built on Feb. 1, 2021, 9:55 a.m.