Learn R Programming

statip (version 0.2.3)

bandwidth: Bandwidth calculation

Description

bandwidth computes the bandwidth to be used in the densityfun function.

Usage

bandwidth(x, rule)

Arguments

x

numeric. The data from which the estimate is to be computed.

rule

character. A rule to choose the bandwidth. See bw.nrd.

Value

A numeric value.