| update_beta | R Documentation | 
Updates Beta Distribution with the Beta-Bernoulli conjugate prior update rule
update_beta(alpha, beta, priors = list())
alpha | 
 Double value for alpha (count of successes). Must be 0 or greater.  | 
beta | 
 Double value for beta (count of failures). Must be 0 or greater.  | 
priors | 
 An optional list object that contains alpha0 and beta0. Otherwise the function with use Beta(1,1) as the prior distribution.  | 
A tibble object that contains 'alpha' and 'beta'
update_beta(alpha = 1, beta = 5, priors = list(alpha0 = 2, beta0 = 2))
update_beta(alpha = 20000, beta = 50000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.