basis_fourier: Creating Fourier Basis Functions

Description Usage Arguments Value Author(s)

Description

This function constructs a fourier+ object that represents a series of Fourier basis functions.

Usage

1
2
basis_fourier(range = c(0, 1), nbasis = 3, period = diff(range),
  dropind = NULL)

Arguments

range

A length-two numeric vector to define the interval on which basis functions can be evaluated. Default is c(0, 1).

nbasis

The total number of basis functions, including the ones that need to be dropped. nbasis should be an odd number. If an even number is specified, it will be increased by 1 automatically. Default is 3.

period

The length of the cycle that Fourier basis functions repeat themselves. Default is the width of range.

dropind

Indices of basis functions that need to be dropped. Default is NULL, meaning no basis will be dropped.

Value

A fourier+ object representing the basis functions.

Author(s)

Yixuan Qiu <http://statr.me/>


yixuan/fdaplus documentation built on May 4, 2019, 5:29 p.m.