Learn R Programming

aphylo (version 0.2-1)

bprior: 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

Run this code
# NOT RUN {
bprior(1, 9)
uprior()
# }

Run the code above in your browser using DataLab