@MISC{Documented_themgcv, author = {October Topics Documented}, title = {The mgcv Package}, year = {} }

Bookmark

OpenURL

Abstract

. x an array of G$n element arrays of data and (optionally) design matrix columns. The first G$nsdf elements of G$x should contain the elements of the columns of the design matrix corresponding to the parametric part of the model. The remaining G$m elements of G$x are the values of the 1 2 GAMsetup covariates that are arguments of the spline terms. Note that the user should not supply a column of 1's in the design matrix, corresponding to the mean response as this will be added automatically. Value A list H, containing the elements of G (the input list) plus the following: X the full design matrix. S an array of matrices containing the coe#cients of the penalties. These are stored in a compact form, so that H$S[i] is the smallest square matrix submatrix containing all