This is support for the functions cs(), and scs().
It is not intended to be called directly by users. The function gamlss.cs
is using the R function smooth.spline
gamlss.cs(x, y, w, df = NULL, spar = NULL, xeval = NULL, ...)
Returns a class "smooth.spline" object with
The residuals of the fit
The smoothing values
the variance for the fitted smoother
the final value for spar
the smoothing degrees of freedom excluding the constant and linear terms, i.e. (df-2)
this is a list containing among others the knots and the coefficients
the design matrix
the response variable
prior weights
effective degrees of freedom
spar the smoothing parameter
used in prediction
for extra arguments
Mikis Stasinopoulos d.stasinopoulos@londonmet.ac.uk, Bob Rigby
gamlss
, cs