quick_bern_beta: Quick determination of posterior from a beta prior and...

Description Usage Arguments Examples

View source: R/quick-bern-beta.R

Description

Quick determination of posterior from a beta prior and Bernoulli likelihood

Usage

1

Arguments

x

number of successes in data

n

number of trials in data

...

prameters describing the beta prior. Uses beta_params().

Examples

1
2
quick_bern_beta(x = 4, n = 5, a = 2, b = 4)
quick_bern_beta(x = 4, n = 5, mode = 0.3, concentration = 10)

rpruim/CalvinBayes documentation built on April 12, 2021, 1:49 p.m.