fd_new: Creating A Univariate Functional Data Object

Description Usage Arguments Value Author(s)

Description

This function constructs an fd+ object that represents a set of univariate functional data.

Usage

1
fd_new(coefs, basis)

Arguments

coefs

A matrix whose each row gives the coefficients of basis functions for each curve in this object. If coefs is a vector, it is treated as a matrix of one row.

basis

Basis of this functional data object. Should be of class basis+ or one of its subclasses (bspline+ and fourier+).

Value

An fd+ object with the given basis and coefficients.

Author(s)

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


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