initial.sp(X,S,off,expensive=FALSE)
S[[i]]
is the ith penalty matrix, but note
that it is not stored as a full matrix, but rather as the smallest square matrix including all
the non-zero elements of the penalty matrix. Element 1,1 of S[[
S[[i]]
.TRUE
then the overall amount of smoothing is
adjusted so that the average degrees of freedom per penalized parameter is
exactly 0.5: this is numerically costly.magic
,
gam.outer
,
gam
,