Evaluates a three dimensional kernel density estimate using a Gaussian kernel with diagonal covariance matrix on a regular grid.
vector of three bandwidths for the density estimate;
recycled if length is less than three; default is based on the
normal reference bandwidth (see
numbers of grid points to use for each dimension; recycled if length is less than three.
lower and upper limits on the region for which the density
estimate is to be computed, provides as a vector of length 6,
corresponding to low and high values of
A list of four components,
z are the coordinates of the
grid points at which the density estimate has been evaluated, and
d is a three dimensional array of the estimated density values.
Based on the function
kde2d in package
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.