sine4p: Calculate Reproducing Kernels for Periodic L-Splines with...

Description Usage Arguments Details Value References See Also Examples

Description

Return a matrix evaluating reproducing kernels for periodic L-splines at observed points.

Usage

1
sine4p(s, t=s)

Arguments

s

a numeric vector.

t

an optional vector. Default is the same as s.

Details

The general formula of the reproducing kernel is provided in Gu (2001). The close form is not available, so an approximate based on the first 50 terms of the series is used.

Value

a matrix with the numbers of row and column equal to the lengths of s and t respectively. The [i, j] element is the reproducing kernel evaluated at (s[i], t[j]).

References

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

Gu, C. (2001). Smoothing Spline ANOVA Modes. Chapman and Hall.

See Also

cubic, lspline

Examples

1
2
3
4
5
## Not run: 
x<- seq(0, 1, len=100)
sine4p(x)

## End(Not run)

catherinewang1/assist documentation built on June 16, 2019, 1:36 p.m.