lspline {assist} | R Documentation |
Return a matrix evaluating reproducing kernels for some L-splines at observed points.
lspline(x,y=x, type="exp", ...)
x |
a numeric vector on which reproducing kerenls are evaluated. |
y |
an optional vector, specifying the second argument of reproducing kernels. Default is x .
|
type |
a string indicating the type of L-splines. Available options are "exp", "logit","sine", "sine1", and "linSinCos". Default is "exp". |
... |
other arguments needed. |
Denote L as the differential oprator, H_0 as the null (kernel) space. The available kernels correspond to the following L:
a matrix with the numbers of row and column equal to the lengths of x and y respectively. The [i, j] element is the reproducing kernel evaluated at (x[i], y[j]).
Chunlei Ke chunlei_ke@pstat.ucsb.edu and Yuedong Wang yuedong@pstat.ucsb.edu
Wahba, G. (1990). Spline Models for Observational Data. SIAM, Vol. 59.
Heckman, N and Ramsay, J. O. (2000). Penalised regression with model-based penalties. To appear in Canadian Journal of Statisitcs.
x<- seq(0,1, len=20) lspline(x, type="exp", r=1.5)