DELTD (version 0.1.0)

denGamma: Density Plot by Gamma kernel.

Description

Plot Kernel density by using Gamma Kernel.

Usage

denGamma(y, k, h)

Arguments

y

a numeric vector of positive values.

k

gird points.

h

the bandwidth

Value

Plot the density by using Gamma kernel

Examples

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

Run the code above in your browser using DataCamp Workspace