bprior: Default priors for aphylo_mcmc

View source: R/priors.R

bpriorR Documentation

Default priors for aphylo_mcmc

Description

Convenient wrappers to be used with the aphylo estimation methods.

Usage

bprior(shape1 = 1, shape2 = 9, ...)

uprior()

Arguments

shape1, shape2, ...

Arguments passed to stats::dbeta

Value

In the case of bprior, a wrapper of the function stats::dbeta. uprior returns a function function(p) 1 (the uniform prior)

Examples

bprior(1, 9)
uprior()

USCbiostats/phylogenetic documentation built on Oct. 28, 2023, 7:23 a.m.