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)

Arguments

t

Vector, sampling points.

t0

Numeric, estimation point.

h

Numeric, bandwidth.

k0

Numeric, number of points to be in the neighborhood.

Value

Boolean, true if there are enough points in the neighborhood.