Learn R Programming

MECfda (version 0.2.1)

extractCoef: Method of class Fourier_series to extract Fourier coefficients

Description

Method of class Fourier_series to extract Fourier coefficients

Usage

extractCoef(object)

# S4 method for Fourier_series extractCoef(object)

Value

A list that contains the coefficients.

Arguments

object

an object of Fourier_series class.

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,
           )
 extractCoef(fsc)

Run the code above in your browser using DataLab