neighbors | R Documentation |
Test if there are more than k_0 points, defined by t, in the neighborhood of t_0, defined by the bandwidth h.
neighbors(t, t0, h, k0)
t |
Vector, sampling points. |
t0 |
Numeric, estimation point. |
h |
Numeric, bandwidth. |
k0 |
Numeric, number of points to be in the neighborhood. |
Boolean, true if there are enough points in the neighborhood.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.