Extracts model residuals from a QuadrupenFit object
Usage
# S3 method for class 'QuadrupenFit'
residuals(object, newx = NULL, newy = NULL, ...)Arguments
- object
a QuadrupenFit object
- newx
matrix of new covariates for out-of-sample residuals. Must be provided together with
newy. IfNULL(default), training residuals are returned.- newy
vector of new responses for out-of-sample residuals. Must be provided together with
newx. IfNULL(default), training residuals are returned.- ...
not used, only here for S3 compatibility