ruleOfThumb: Rule-of-thumb bandwidth

Description Usage Arguments Details Value Examples

View source: R/vdke_utils.R

Description

ruleOfThumb calculates the rule-of-thumb bandwidth according to the standard formula (eg. p23 of np package documentation).

Usage

1

Arguments

tdat

array containing the training dataset.

Details

These are the details of the function.

Value

a number corresponding to the standard bandwidth

Examples

1
ruleOfThumb(runif(100,0,1))

kcucchi/vkde documentation built on May 29, 2019, 3:01 a.m.