Predict method for RGAM fits
Obtains predictions from a robustly fitted generalized additive model object
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
the component of the ‘object’ based on the value
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’,
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.