estimate_density {blocs} | R Documentation |
Estimate density
Description
Run kde for weighted density estimation
of a x
at n_points
evenly spaced points between min
and max.
Usage
estimate_density(x, min, max, n_points = 100, w = NULL, ...)
Arguments
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 |
[Package blocs version 0.1.1 Index]