Learn R Programming

fda (version 1.1.4)

create.constant.basis: Create a Constant Basis

Description

Create a constant basis object, defining a single basis function whose value is everywhere 1.0.

Usage

create.constant.basis(rangeval=c(0, 1))

Arguments

rangeval
a vector of length 2 containing the initial and final values of argument t defining the interval over which the functional data object can be evaluated. However, this is seldom used since the value of the basis function does not depend on the range or any

Value

  • a basis object of the type const.

See Also

basisfd, create.bspline.basis, create.exponential.basis, create.fourier.basis, create.monomial.basis, create.polygonal.basis, create.polynomial.basis, create.power.basis

Examples

Run this code
basisobj <- create.constant.basis(c(-1,1))

Run the code above in your browser using DataLab