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: 0x55deaeb83248>
#> <environment: 0x55deaeb82c60>
uprior()
#> function (p)
#> 1
#> <bytecode: 0x55dea72b9270>
#> <environment: 0x55deb0878a20>