View source: R/integrate_logit_log.R
| integrate_density.normMix | R Documentation |
Computes \int g(x) f_{\text{mix}}(x) dx where f_{\text{mix}}
is a mixture density. S3 generic dispatching on the mixture type.
## S3 method for class 'normMix'
integrate_density(mix, integrand, ...)
integrate_density(mix, integrand, ...)
## Default S3 method:
integrate_density(
mix,
integrand,
Lplower = -Inf,
Lpupper = Inf,
eps = getOption("RBesT.integrate_prob_eps", 1e-06),
...
)
mix |
mixture density to integrate over (dispatch argument) |
integrand |
function to integrate |
... |
additional arguments passed to methods |
integrate_density(normMix): Gauss-Hermite method for normMix
integrate_density(default): Default method using adaptive integration
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.