Create a 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))

OPTIONAL 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 argument values.

VALUE:

A basis object of the type "const".

EXAMPLES:

basis <- create.constant.basis(c(-1,1))