loglik_bisse: BISSE loglik

Description Usage Arguments Value Author(s)

View source: R/sls_likelihoods_bisse.R

Description

Provides BISSE loglik function

Usage

1
loglik_bisse(pars, brts, n_0 = 2, t_ds = NULL, d_0s = NULL, t_p = 0)

Arguments

pars

parameters of the likelihood functions:

brts

branching times

  • pars[1] is lambda, i.e. speciation rate;

  • pars[2] is mu, i.e. extinction rate;

n_0

starting number of lineages

t_ds

decoupling times

d_0s

starting values for BiSSE's D functions

t_p

present time

Value

loglik

Author(s)

Giovanni Laudanno


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