fourier.basis: Create a Fourier basis of K functions in [0, 1]

Description Usage Arguments Value

View source: R/fdanova.R

Description

Create a Fourier basis of K functions in [0, 1]

Usage

1
fourier.basis(K, pts = seq(0, 1, length.out = 50))

Arguments

K

A positive integer specifying the number of eigenfunctions to generate.

pts

A vector specifying the time points to evaluate the basis functions.

Value

A K by len(pts) matrix, each column containing a basis function.


linulysses/hdanova documentation built on Feb. 13, 2021, 9:10 a.m.