Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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.


statip

Statistical Functions for Probability Distributions and Regression

v0.2.3
GPL-3
Authors
Paul Poncet [aut, cre], The R Core Team [aut, cph] (C function 'BinDist' copied from package 'stats'), The R Foundation [cph] (C function 'BinDist' copied from package 'stats'), Adrian Baddeley [ctb] (C function 'BinDist' copied from package 'stats')
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.