CDF
is generic, with a method for class "density"
.
This calculates the cumulative distribution function
whose probability density has been estimated and stored in the object
f
. The object f
must belong to the class "density"
,
and would typically have been obtained from a call to the function
density
.