R/likelihood_coal_cst.R

Defines functions likelihood_coal_cst

Documented in likelihood_coal_cst

likelihood_coal_cst <- function(Vtimes,ntips,tau0,gamma,N0)
{
  if (gamma == 0)
  {
    return (.likelihood_coal_cst_mod(Vtimes,ntips,tau0,N0))
  }
  else
  {
    return(.likelihood_coal_exp_mod(Vtimes,ntips,tau0,gamma,N0))
  }
}

Try the RPANDA package in your browser

Any scripts or data that you put into this service are public.

RPANDA documentation built on May 29, 2024, 11:17 a.m.