residuals.pffr {refund} | R Documentation |
Obtain residuals and fitted values for a pffr models
Description
See predict.pffr
for alternative options to extract estimated
values from a pffr
object.
"Fitted values" here refers to the estimated additive predictor values,
these will not be on the scale of the response for models with link functions.
Usage
## S3 method for class 'pffr'
residuals(object, reformat = TRUE, ...)
## S3 method for class 'pffr'
fitted(object, reformat = TRUE, ...)
Arguments
object |
a fitted |
reformat |
logical, defaults to TRUE. Should residuals be returned in
|
... |
other arguments, passed to |
Value
A matrix or ydata
-like data.frame
or a vector of
residuals / fitted values (see reformat
-argument)
Author(s)
Fabian Scheipl
[Package refund version 0.1-35 Index]