Learn R Programming

BBMV (version 2.1)

log_prior_nclades_plus_3_pars: Prior function.

Description

Internal function that calculates the log prior, used in MCMC estimation of the BBM+V model.

Usage

log_prior_nclades_plus_3_pars(type = NULL, shape = NULL, pars, n_clades)

Arguments

type

A vector giving the type of prior for each parameter.

shape

A list giving the shape of the prior for each parameter.

pars

The parameter values at which the prior should be evaluated.

n_clades

The number of clades included in the multiclade analysis.