AsyK (version 1.3.2)

graphLap: Plot Density by Laplace kernel.

Description

Plot Kernel density by using Laplace Kernel.

Usage

graphLap(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(23,1)
h<-0.79 * IQR(y) * length(y) ^ (-1/5)
graphLap(y,80,h)
# }

Run the code above in your browser using DataCamp Workspace