Learn R Programming

bde (version 1.0.1.1)

distribution: Cumulative Density Function (cdf)

Description

Distribution function for the given bounded density object

Arguments

.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.

Methods

distribution(.Object,x,discreteApproximation=TRUE)

Details

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.