Description Usage Arguments Examples
Function to fit the L2 spline using some Greens function.
1  | 
t | 
 Numeric vector of evaluation times.  | 
y | 
 Numeric vector to be fitted.  | 
gfun | 
 Choice of Greens function.  | 
x | 
 If numeric value then the L2 spline will be evaluated here. Otherwise it will be evaluated in t.  | 
lambda | 
 Smoothness parameter.  | 
1 2 3  | t = generate.t(m = 25); y = generate.y()(t) + generate.noise(t, type = 2)
plot(t, y, col = "blue")
lines(t, thetafun(t, y, G9, lambda = 0.0001))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.