Description Usage Arguments Value Examples
Extract fitted values from a sparseSpline object
| 1 2 | 
| object | an object of class  | 
| which.lam | an optional value for the index of the tuning parameter sequence to produce. If  | 
| ... | optional additional arguments for method compatability | 
A matrix of dimension Nxd or an array of dimension N x nlambda x d if which.lam=NULL.
| 1 2 3 | someData = generateSPASM(100,3,4)
SPAMfit = spam(someData$y, someData$x, returnall=TRUE)
SPAMpreds = fitted(SPAMfit)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.