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: 0x55f7b94fd0e8>
#> <environment: 0x55f7b94f98a0>
uprior()
#> function (p)
#> 1
#> <bytecode: 0x55f7b0fa4318>
#> <environment: 0x55f7b94c8c40>