Description Usage Arguments Value Author(s) 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 |
Integer value 1-10 (choice of Greens function). |
lambda |
Numeric (smoothness parameter). |
Numeric vector of fitted values.
Helene Charlotte Rytgaard
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, 9, lambda = 0.0001))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.