Get a parameter of the beta_dist
Usage
get_beta_shape(x, type = c("shape1", "shape2", "conc"))
Arguments
- x
a beta_dist or beta_dist_list acting as the prior
- type
the parameter to extract one of shape1 or shape2 or conc
Value
a vector of doubles
Examples
get_beta_shape(beta_dist(shape1=1,shape2=1))
#> [1] 1
get_beta_shape(beta_dist(shape1=2:5,shape2=1:4))
#> [1] 2 3 4 5