integrate_density_log: internal function used for integration of densities which...

Description Usage Arguments

View source: R/integrate_logit_log.R

Description

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.

Usage

1
2
3
4
5
6
7
integrate_density_log(
  log_integrand,
  mix,
  Lplower = -Inf,
  Lpupper = Inf,
  eps = 1e-09
)

Arguments

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


RBesT documentation built on Nov. 24, 2021, 5:07 p.m.