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 Oct. 13, 2018, 10:48 a.m.