Learn R Programming

refund (version 0.1-1)

residuals.pffr: Obtain residuals for a pffr fit

Description

Obtain residuals for a pffr fit

Usage

## S3 method for class 'pffr':
residuals(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
...
other arguments, passed to residuals.gam.

Value

  • A matrix or vector of residuals