Density function for the given bounded density object.
x
A bounded density estimator. See all the accepted classes here by running the command getSubclasses("BoundedDensity")
. This parameter is named x
instead of .Object
to agree with other already defined density methods
values
Vector of points where the density function is evaluated. These points must be in the interval [x@lower.limit,x@upper.limit
]. This parameter is named values
instead of x
to agree with other already defined density methods
density(x,values)