Description Usage Arguments Value Author(s)
Wrapper for the covafill reference class to do kernel density estimation.
1 | kde(X, bw = suggestBandwith(X, -1), npred = 100, from = min(X), to = max(X))
|
X |
A numeric matrix or vector of data coordinates |
bw |
Bandwith used |
npred |
Number of coordinate wise equally spaced points at which the density is to be estimated. The numbers are repeated if the length is less than the dimension of the coordinates. |
from |
Coordinate wise lower bound of points at which the density is to be estimated. The numbers are repeated if the length is less than the dimension of the coordinates. |
to |
Coordinate wise upper bound of points at which the density is to be estimated. The numbers are repeated if the length is less than the dimension of the coordinates. |
a list of coordinates and corresponding density estimates
Christoffer Moesgaard Albertsen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.