Description Usage Arguments Value
View source: R/PSplineFunctions.R
This will utilise the B-Spline functions in this package to fit a P-Spline. That is, a cubic B-spline with interior and exterior knots defined by each data point.
1 | FitPSpline(x, y, lambda)
|
x |
Vector of data points. |
y |
Vector of observations |
lambda |
Smoothing parameter. |
Named list with the following components:
AlphaEst
is a vector of estimated coefficients of the
regression model.
YEst
is a vector of fitted values.
VarYEst
is the dispersion matrix of the fitted value estimates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.