Description Usage Arguments Details Value Author(s) References See Also Examples
Two-dimensional kernel density estimation with an axis-aligned bivariate normal kernel, evaluated on a square grid. The function 'akde2d' (astro:kde2d) is a wrapper around the 'kde2d' function within the 'MASS' package. This function adds additional output to that function.
| 1 2 | 
| x | x coordinate of data | 
| y | y coordinate of data | 
| n | number of grid points in each direction. Can be scalar or a length-2 integer vector | 
| lims | the limits of the rectangle covered by the grid as 'c(xl, xu, yl, yu)' | 
| levels | output levels containing the given percentiles of the data | 
| ... | arguments to be passed to 'kde2d' in the 'MASS' package | 
Characters in the string will be stripped 'outside in', from left-to-right in the order they are given in the argument. See examples below for more detail.
A list of four components.
| x,y | the x and y coordinates of the grid points, vectors of length 'n' | 
| z | an 'n[1]' by 'n[2]' matrix of the estimated density: rows correspond to the value of 'x', columns to the value of 'y' | 
| l | percentile levels containing given fractions of the data | 
Lee Kelvin <lee.kelvin@uibk.ac.at>
Venables, W. N. and Ripley, B. D. (2002) _Modern Applied Statistics with S._ Fourth edition. Springer.
The astronomy package: astro.
| 1 | # See 'kde2d' for further examples.
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.