Description Usage Arguments Details Value Author(s)
Obtains predictions from a robustly fitted generalized additive model object
1 2 |
object |
a fitted |
type |
a character string specifying the type of predictions. Can be one of ‘link’ (the default), ‘response’, or ‘terms’. |
... |
additional arguments passed from other methods |
Serves as the extractor function on objects of class
rgam
.
the component of the ‘object’ based on the value
of type
: if the ‘code’ is ‘response’, returns the
$fitted.values
; if the type is ‘link’, returns the
$additive.predictors
; and if the type is ‘terms’,
returns the $smooth
component.
Matias Salibian-Barrera matias@stat.ubc.ca and Davor Cubranic cubranic@stat.ubc.ca
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.