R/math_functions.R
log_mix.Rd
Log mixture of two probabilities
log_mix(theta, lp1, lp2)
Mixing proportion (between 0 and 1).
Log-probability of the first component.
Log-probability of the second component.
The log-probability of the mixture.