knn_smoothing: Apply a smoothing function to multivariate local values

Description Usage Arguments Value

View source: R/knnStats.R

Description

Apply a smoothing function to multivariate local values

Usage

1
knn_smoothing(v, i, f = mean)

Arguments

v

numeric vector.

i

precomputed matrix of nearest neighbor indexes.

f

smoothing function (default = mean).

Value

knn_smoothing returns a numeric vector.


benja0x40/QuickShift documentation built on Jan. 22, 2021, 7:43 p.m.