Learn R Programming

refund (version 0.1-11)

fitted.pffr: Obtain fitted values for a pffr fit

Description

Returns the linear predictor for the model data. See predict.pffr for alternative options.

Usage

## S3 method for class 'pffr':
fitted(object, reformat = TRUE, ...)

Arguments

object
a fitted pffr-object
reformat
logical, defaults to TRUE. Should residuals be returned in n x yindex matrix form (default for regular grid data) or in the shape of the originally supplied ydata argument or (default for sparse/irregular data), or, if FALS
...
not used

Value

  • A matrix (grid data) or data.frame (sparse/irregular data) or vector (if !reformat) of fitted values