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 = "") )
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
Returns an instance of LagKernelWeight.
kernels
# NOT RUN { wgt1 <- lagKernelWeight(W=WParzen, K=20, bw=10) print(wgt1) # }
Run the code above in your browser using DataLab