Learn R Programming

fdars (version 0.3.3)

h.default: Default Bandwidth

Description

Compute a default bandwidth as the 15th percentile of pairwise distances.

Usage

h.default(fdataobj, ...)

Value

A scalar bandwidth value.

Arguments

fdataobj

An object of class 'fdata', or a numeric vector of evaluation points.

...

Additional arguments (ignored).

Examples

Run this code
tt <- seq(0, 1, length.out = 50)
h <- h.default(tt)

Run the code above in your browser using DataLab