Learn R Programming

orthogonalsplinebasis (version 0.1.7)

OuterProdSecondDerivative: Outer Product of Second Derivatives of Spline Bases

Description

Provides the functional outer product of second derivatives of a set of basis functions in a SplineBasis object. It a convenient form for forming a penalty on curve smoothness when fitting a spline curve.

Usage

OuterProdSecondDerivative(basis)

Arguments

basis

A SplineBasis object

Value

A square matrix of order nrow(basis).

See Also

'>SplineBasis,fitLS