AsyK (version 1.3.2)

compLR: 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

Examples

Run this code
# NOT RUN {
y<-rexp(100,1)
h<-0.79 * IQR(y) * length(y) ^ (-1/5)
compLR(y,80,h)
# }

Run the code above in your browser using DataCamp Workspace