bw.nn: nearest-neighbor adaptive bandwidth selection

Description Usage Arguments Value Author(s) Examples

Description

For each row in pairwise distance matrix find the distance to the closest prop fraction of trees.

Usage

1
bw.nn(x, prop = 0.2, tol = 1e-06)

Arguments

x

pairwise distance matrix

prop

fraction of data to define the local neighborhood

tol

tolerance for zero-bandwidth check

Value

a vector of bandwidths for each tree (row) in x

Author(s)

Grady Weyenberg

Examples

1
2

grady/kdetrees documentation built on May 17, 2019, 8:01 a.m.