pmb_loglik: Calculate the log-likelihood for a Pure Multiple Birth model

Description Usage Arguments Author(s) See Also

View source: R/mbd_pmb.R

Description

Calculate the log-likelihood for a Pure Multiple Birth model

Usage

1
pmb_loglik(pars, brts, n_0 = 2)

Arguments

pars

vector of parameters:

  • pars[1] is lambda, the sympatric speciation rate;

  • pars[2] is mu, the extinction rate;

  • pars[3] is nu, the multiple allopatric speciation trigger rate;

  • pars[4] is q, the single-lineage speciation probability;

brts

A set of branching times of a phylogeny.

n_0

the number of lineages at time equals zero.

Author(s)

Giovanni Laudanno

See Also

use mbd_loglik to calculate the log-likelihood for a Multiple Birth Death model.


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