kde {covafillr} | R Documentation |
Wrapper for the covafill reference class to do kernel density estimation.
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