Distribution function for the given bounded density object
.Object
A bounded density estimator. See all the accepted classes here by running the command getSubclasses("BoundedDensity")
.
x
Vector of points where the density function is evaluated. These points must be in the interval [.Object@lower.limit,.Object@upper.limit
]
discreteApproximation
Logical; if TRUE
the distribution function is computed using a discrete approximation using the values cached in dataPointsCache
and densityCache
. Otherwise, the integral of the density function is evaluated.
distribution(.Object,x,discreteApproximation=TRUE)
If discreteApproximation
is not specified it assumes the default value TRUE
. When the distribution function is used with a BoundedDensity
object, discreteApproximation
value is and a discrete approximation is always obtained.