sine4p {assist} | R Documentation |
Return a matrix evaluating reproducing kernels for periodic L-splines at observed points.
sine4p(s, t=s)
s |
a numeric vector. |
t |
an optional vector. Default is the same as s. |
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.
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]).
Wahba, G. (1990). Spline Models for Observational Data. SIAM, Vol. 59.
Gu, C. (2001). Smoothing Spline ANOVA Modes. Chapman and Hall.
## Not run:
x<- seq(0, 1, len=100)
sine4p(x)
## End(Not run)