Learn R Programming

geoFKF (version 0.1.1)

fourier_b: Smoothed curve in Fourier Series.

Description

This function computes the smoothed curve using Fourier coefficients.

Usage

fourier_b(coef, x)

Value

a time series with the smoothed curve.

Arguments

coef

Fourier coefficients.

x

a time series to evaluate the smoothed curve.

Examples

Run this code
v_coef <- rnorm(23)
fourier_b(v_coef)

Run the code above in your browser using DataLab