Description Usage Arguments Value Author(s) See Also Examples
This function computes the coefficients of the B-splines for free-knot splines, given the amount of the penalty (if applicable) and the locations of the knots.
1 2  | 
object | 
 An object of class "  | 
... | 
 Additional arguments to be passed to coef.freekt. Currently ignored.  | 
A vector containing the coefficients of the B-splines.
Steven Spiriti
fitted.freekt to compute the fitted values and residuals.freekt to compute the residuals.
1 2 3 4 5 6  | x <- 0:30/30
truey <- x*sin(10*x)
set.seed(10556)
y <- truey + rnorm(31, 0, 0.2)
xy.freekt <- freelsgen(x, y, degree = 2, numknot = 2, 555)
coef.freekt(xy.freekt)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.