distr (version 2.2.2)

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

## S3 method for class 'AbscontDistribution':
getUp(object,
                                      eps = getdistrOption("TruncQuantile"))
## S3 method for class 'DiscreteDistribution':
getUp(object, ...)
## S3 method for class 'LatticeDistribution':
getUp(object, ...)
## S3 method for class 'UnivarLebDecDistribution':
getUp(object,
                                      eps = getdistrOption("TruncQuantile"))
## S3 method for class 'UnivarMixingDistribution':
getUp(object,
                                      eps = getdistrOption("TruncQuantile"))
## S3 method for class 'AbscontDistribution':
getLow(object,
                                       eps = getdistrOption("TruncQuantile"))
## S3 method for class 'DiscreteDistribution':
getLow(object, ...)
## S3 method for class 'LatticeDistribution':
getLow(object, ...)
## S3 method for class 'UnivarLebDecDistribution':
getLow(object,
                                      eps = getdistrOption("TruncQuantile"))
## S3 method for class '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 argument eps no matter of the class of object; is ignored in these functions.

Value

  • getLow,getUpa numeric of length 1

concept

  • support
  • utilities