View source: R/beta-binom-analytic.R
| beta_weights_on_grid | R Documentation |
Computes prior weights over a grid of true effect values by evaluating a Beta(mode, n) prior. If the grid is not in (0,1), it is rescaled linearly.
beta_weights_on_grid(effects, mode, n)
effects |
Numeric vector of effect values (grid). |
mode |
Prior mode in (0,1). |
n |
Prior concentration (> 2). |
Normalised numeric weights over the grid (sum to 1).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.