integrate_density_log {RBesT} | R Documentation |
integrate density in logit space and split by component such that the quantile function of each component is used. This ensures that the R implementation of the quantile function is always used.
integrate_density_log(
log_integrand,
mix,
Lplower = -Inf,
Lpupper = Inf,
eps = 1e-09
)
log_integrand |
function to integrate over which must return the log(f) |
mix |
density over which to integrate |
Lplower |
logit of lower cumulative density |
Lpupper |
logit of upper cumulative density |