Learn R Programming

MECfda (version 0.2.1)

plot,Fourier_series-method: Plot Fourier basis summation series.

Description

Plot Fourier basis summation series.

Usage

# S4 method for Fourier_series
plot(x, y, ...)

Arguments

x

A Fourier_series object.

y

Ignored. Present for consistency with the generic plot() function.

...

other parameters to be passed through to plotting functions.

Author

Heyang Ji

Examples

Run this code
fsc = Fourier_series(
double_constant = 0.5,
cos = c(0,0.3),
sin = c(1,0.7),
k_cos = 1:2,
)
plot(fsc)

Run the code above in your browser using DataLab