extractCoef {MECfda}R Documentation

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 signature 'Fourier_series'
extractCoef(object)

Arguments

object

an object of Fourier_series class.

Value

A list that contains the coefficients.

Author(s)

Heyang Ji

Examples

fsc = Fourier_series(
           double_constant = 0.5,
           cos = c(0,0.3),
           sin = c(1,0.7),
           k_cos = 1:2,
           )
 extractCoef(fsc)

[Package MECfda version 0.2.0 Index]