powered by
LagKernelWeight
Create an instance of the LagKernelWeight class.
lagKernelWeight( W = WParzen, bw = K/2, K = 10, descr = paste("bw=", bw, ", K=", K, sep = "") )
Returns an instance of LagKernelWeight.
A kernel function
bandwidth
a numeric that determines the largest lag. The weight will be computed for the \(K\) integers \(0:(K-1)\); by default the number K specified on construction.
numeric
K
a description to be used in some plots
kernels
wgt1 <- lagKernelWeight(W=WParzen, K=20, bw=10) print(wgt1)
Run the code above in your browser using DataLab