estimate_density {blocs} | R Documentation |
Run kde for weighted density estimation
of a x
at n_points
evenly spaced points between min
and max.
estimate_density(x, min, max, n_points = 100, w = NULL, ...)
x |
numeric vector or matrix |
min |
numeric vector giving the lower bound of evaluation points for each variable in |
max |
numeric vector giving the upper bound of evaluation points for each variable in |
n_points |
number of evaluation points (estimates) |
w |
vector of weights. Default uses uniform weighting. |
... |
further arguments to pass to kde |