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: 0x557f32deb000>
#> <environment: 0x557f32deb850>
uprior()
#> function (p)
#> 1
#> <bytecode: 0x557f33bc53a0>
#> <environment: 0x557f3a64fe80>