View source: R/math_functions.R
| log_mix | R Documentation |
Log mixture of two probabilities
log_mix(theta, lp1, lp2)
theta |
Mixing proportion (between 0 and 1). |
lp1 |
Log-probability of the first component. |
lp2 |
Log-probability of the second component. |
The log-probability of the mixture.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.