getLow,getUp
From distr v2.8.0
by Peter Ruckdeschel
getLow, getUp functions of package distr
getLow, getUp return lower and upper endpoint of a distribution ---
truncated to lower/upper TruncQuantile
if infinite; in case of an object
of class "LatticeDistribution"
with infinite lattice length, we search
for the smallest/largest point in the lattice which is returned by succesive
halving of x=0.5
in q(object)(x, lower.tail)
for lower.tail
TRUE
resp. false
.
- Keywords
- methods, distribution
Usage
# S4 method for AbscontDistribution
getUp(object,
eps = getdistrOption("TruncQuantile"))
# S4 method for DiscreteDistribution
getUp(object, ...)
# S4 method for LatticeDistribution
getUp(object, ...)
# S4 method for UnivarLebDecDistribution
getUp(object,
eps = getdistrOption("TruncQuantile"))
# S4 method for UnivarMixingDistribution
getUp(object,
eps = getdistrOption("TruncQuantile"))
# S4 method for AbscontDistribution
getLow(object,
eps = getdistrOption("TruncQuantile"))
# S4 method for DiscreteDistribution
getLow(object, ...)
# S4 method for LatticeDistribution
getLow(object, ...)
# S4 method for UnivarLebDecDistribution
getLow(object,
eps = getdistrOption("TruncQuantile"))
# S4 method for UnivarMixingDistribution
getLow(object,
eps = getdistrOption("TruncQuantile"))
Arguments
- object
a distribution object
- eps
truncation point (numeric)
- …
for convenience only; makes it possible to call
getLow
,getUp
with argumenteps
no matter of the class ofobject
; is ignored in these functions.
Value
a numeric
of length 1
Community examples
Looks like there are no examples yet.