Learn R Programming

geoFourierFDA (version 0.1.0)

fourier_b: This function the smoothed curve

Description

This function the smoothed curve

Usage

fourier_b(coef, x)

Arguments

coef

Fourier coefficients.

x

a time series to evaluate the smoothed curve.

Value

a time series with the smoothed curve.

Examples

Run this code
# NOT RUN {
data(canada)

coefs <- coef_fourier(canada$ThePas_ts)
y_hat <- fourier_b(coefs)
# }

Run the code above in your browser using DataLab