Polynomial2 {assist}R Documentation

Calculate Reproducing Kernels for Polynomial Splines on [0, T]

Description

Return a matrix evaluating reproducing kernels for polynomial splines at observed points.

Usage

linear2(s, t=s)
cubic2(s, t=s)
quintic2(s, t=s)
septic2(s, t=s)

Arguments

s

a vector of non-negative values, at which the kernels are evaluated.

t

an optional non-negative vector. Default is the same as s.

Details

The reproducing kernels implemented in these functions are based on Green functions. The domain is [0, T], where T is a given positive number.

Value

a matrix with the numbers of row and column equal to the length of s and t respectively. The [i, j] element is the reproducing kernel of linear, cubic, quintic, or septic spline evaluated at (s[i], t[j]).

Author(s)

Chunlei Ke chunlei\_ke@pstat.ucsb.edu and Yuedong Wang yuedong@pstat.ucsb.edu

References

Wahba, G. (1990). Spline Models for Observational Data. SIAM, Vol. 59.

See Also

ssr, linear, cubic, quintic, septic

Examples

## Not run: 
x<- seq(0, 5, len=10)
linear2(x)

## End(Not run)

[Package assist version 3.1.7 Index]