Learn R Programming

aphylo (version 0.3-3)

bprior: Default priors for aphylo_mcmc

Description

Convenient wrappers to be used with the aphylo estimation methods.

Usage

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

uprior()

Value

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

Arguments

shape1, shape2, ...

Arguments passed to stats::dbeta

Examples

Run this code
bprior(1, 9)
uprior()

Run the code above in your browser using DataLab