Description Usage Arguments Value Functions
When column x
has the likelihood of one observation under hypotheses
named in column H
1 2 3 | aggregate_lhood(lhoods, prob, ...)
aggregate_log_lhood(lhoods, log_prob, ...)
|
lhoods |
data frame with one row per observation and hypothesis
combination, and column |
prob, log_prob |
name of column with (log) likelihood values to aggregate |
... |
additional arguments are used to define additional groups to aggregate likelihood within |
a data frame with one row per group (plus additional grouping vars)
and total likelihood in prob
aggregate_log_lhood
: Aggregate observations' log-likelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.