Description Usage Arguments Value Functions
Convert joint to marginal (log) probabilities
1 2 3  marginalize(joint, prob, ...)
marginalize_log(joint, log_prob, ...)

joint 
data frame with (possibly unnormalized) joint probabilities 
prob, log_prob 
name of column with (log) probability values to normalize 
... 
additional arguments are columns used to define additional groupings for marginalization. 
a data frame with columsn for marginal_vars
and any
preexisting grouping, plus marginal log likelihood.
marginalize_log
: Marginalize log probability
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.