Class for lag window generators
LagKernelWeight
is an S4 class that implements a weighting function by specification of a kernel function W
and a scale parameter bw
.
class
It extends the class Weight
and writes
to values[k]
[nested inside env
] for k=1,...,length(x)
. The points x
where is evaluated may be set on construction or updated when evoking the method getValues
.
W
: a kernel function
bw
: bandwidth
env
: An environment to allow for slots which need to be accessable in a call-by-reference manner:
- **`values`**: A vector storing the weights; see the Details section.
Examples for implementations of kernels W
can be found at: kernels
.