powered by
This function computes the smoothed curve using Fourier coefficients.
fourier_b(coef, x)
a time series with the smoothed curve.
Fourier coefficients.
a time series to evaluate the smoothed curve.
v_coef <- rnorm(23) fourier_b(v_coef)
Run the code above in your browser using DataLab