Polynomial {assist} | R Documentation |
Return a matrix evaluating reproducing kernels for polynomial splines at observed points.
linear(s, t=s)
cubic(s, t=s)
quintic(s, t=s)
septic(s, t=s)
s |
a vector of values in [0, 1], at which the kernels are evaluated. |
t |
an optional vector in [0, 1]. Default is the same as s. |
The reproducing kernels implemented in these functions are based on Bernoulli functions with domain [0, 1].
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 of linear, cubic, quintic, or septic spline evaluated at (s[i], t[j]).
Chunlei Ke chunlei_ke@yahoo.com and Yuedong Wang yuedong@ucsb.edu
Wahba, G. (1990). Spline Models for Observational Data. SIAM, Vol. 59.
ssr
, linear2
, cubic2
,
quintic2
, septic2
## Not run:
x<-seq(0, 1, len=10)
cubic(x)
## End(Not run)