smoothN.Rd
Smoothing of order N
smoothN(variable, length, order, initial = NULL)
Variable to smooth
Length of smoothing.
Order of smoothing.
Value to initialize the accumulator with. If NULL, the first value of the variable to smooth is used. Defaults to NULL.
Smoothed variable