Convenient wrappers to be used with the aphylo
estimation methods.
bprior(shape1 = 1, shape2 = 9, ...)
uprior()
Arguments passed to stats::dbeta
In the case of bprior
, a wrapper of the function stats::dbeta.
uprior
returns a function function(p) 1
(the uniform prior)
bprior(1, 9)
#> function (p)
#> {
#> stats::dbeta(p, shape1 = shape1, shape2 = shape2, ...)
#> }
#> <bytecode: 0x560fe623a518>
#> <environment: 0x560fe6239f30>
uprior()
#> function (p)
#> 1
#> <bytecode: 0x560fe17a15b0>
#> <environment: 0x560fe5f49340>