powered by
This function the smoothed curve
fourier_b(coef, x)
Fourier coefficients.
a time series to evaluate the smoothed curve.
a time series with the smoothed curve.
# NOT RUN { data(canada) coefs <- coef_fourier(canada$ThePas_ts) y_hat <- fourier_b(coefs) # }
Run the code above in your browser using DataLab