Re: [R] mgcv: Smoothing matrix

2012-02-23 Thread Simon Wood
There's no function for extracting this directly, as almost anything that you want to do with the smoother matrix can be done in a much more efficient way without computing it explicitly, but here's an example of how to compute it explicitly in the unweighted additive case... library(mgcv) set

[R] mgcv: Smoothing matrix

2012-02-23 Thread Man Zhang
Dear All, I would like to extract the smoothing matrix of the fitted GAM, \hat{y} = Sy. I can't seem to find the function or am I missing something? Thanks, any help is greatly appreciated Man Zhang [[alternative HTML version deleted]] __ R-h