distrEx (version 2.6.1)

internals_for_distrEx: Internal functions of package distrEx

Description

These functions are used internally by package distrEx.

Usage

.getIntbounds(object, low, upp, lowTQ, uppTQ, IQR.fac, ...)

Arguments

object

an object of class "AbscontDistribution"

low

given lower integration bound

upp

given lower integration bound

lowTQ

lower quantile for quantile based integration range.

uppTQ

upper quantile for quantile based integration range.

IQR.fac

factor for scale based integration range (i.e.; median of the distribution \(\pm\)IQR.fac\(\times\)IQR).

arguments passed through to other functions (in particular argument cond in .getIntbounds)

Value

.getIntbounds

a named numeric vector with coordinates low and upp.

Details

.getIntbounds integration bounds are obtained as lowB <- max(low, q(object)(lowTQ), median(object)-IQR.fac*IQR(object) and uppB <- min(upp, q(object)(1-uppTQ), median(object)+IQR.fac*IQR(object)

See Also

AbscontDistribution, distrExIntegrate