adkernel: Kernel estimation using an adaptive kernel.

Description Usage Arguments Value

Description

Common area estimation using an adaptive kernel.

Usage

1
adkernel(x, kernel = dnorm, bw = bw.nrd0, adjust = 1, n = 500, from, to, cut = 3, na.rm = TRUE, alpha = 0.5)

Arguments

x

A vector of values.

kernel

The kernel function.

bw

Band-width method.

adjust

Parameter to adjust tha variability of the bw.

n

Number of cuts over the values.

from

Minimun value to cut.

to

Maximum value to cut

cut

Size of the cuts.

na.rm

Treatment of the NA's.

alpha

An parameter of adjust teh adaptability.

Value

Return a "density" class objetc.


javiergarcirod/stfa documentation built on May 4, 2019, 6:40 p.m.