bw: Density kernel bandwidth

Description Usage Arguments Value

View source: R/outlier_detection.R

Description

The Silverman's rule of thumb kernel bandwidth for Gaussian 2nd order density kernel, for multidimensional data.

Usage

1
bw(x)

Arguments

x

data, as a matrix. Each row is a data points, each column is a dimension. NA values will be ignored.

Value

a vector of bandwidths, the length is the number of columns in x.


rushkin/outlieR documentation built on Dec. 20, 2020, 6:11 a.m.