bandwidth.nrd.not0: Identify optimal bandwidth via normal distribution

bandwidth.nrd.not0R Documentation

Identify optimal bandwidth via normal distribution

Description

ensure that result is not zero: removes the most frequent value in x if bandwidth.nrd return zero

Usage

bandwidth.nrd.not0(x)

Arguments

x

a data vector

Value

A bandwidth on a scale suitable for the width argument of density.


iaaka/visutils documentation built on Jan. 17, 2025, 11:29 p.m.