compLR {AsyK}R Documentation

Plot Density by RIG and Laplace kernel.

Description

Plot densities by using Resiprocal Inverse Gaussian and Laplace Kernel.

Usage

compLR(y, k, h)

Arguments

y

a numeric vector of positive values.

k

gird points.

h

the bandwidth

Details

It plot the densities by Laplace, RIG kernel and with real density at the same time.

Author(s)

Javaria Ahmad Khan, Atif Akbar.

References

Examples

y<-rexp(100,1)
h<-0.79 * IQR(y) * length(y) ^ (-1/5)
compLR(y,80,h)

[Package AsyK version 1.5.4 Index]