Learn R Programming

distr (version 2.9.5)

getLow,getUp: getLow, getUp functions of package distr

Description

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.

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"))

Value

getLow,getUp

a numeric of length 1

Arguments

object

a distribution object

eps

truncation point (numeric)

...

for convenience only; makes it possible to call getLow, getUp with argument eps no matter of the class of object; is ignored in these functions.

Author

Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de