Description Usage Arguments Value Functions
Normalize posterior
1 2 3  normalize_probability(d, prob_var)
normalize_log_probability(d, prob_var)

d 
data frame, grouping will be preserved 
prob_var 
quoted name of column with probability to normalize 
A data frame with a column posterior
that sums to 1 within
each group in d
. Additionally, log_posterior
and
posterior_choice
columns are created that have the logposterior and
TRUE for the maximum within each group/FALSE elsewhere, respectively.
normalize_log_probability
: Operate on logprobability
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.