Returns the OLS residuals of the stats::lm() fit stored in the model
component of an hcinfer() result. The residuals themselves are not stored
in the object. For an HC0R result x, the least median of squares residuals
that enter the covariance matrix are
vcov_hc(x$model, type = "hc0r", seed = x$method_params$seed)$residuals.
Usage
# S3 method for class 'hcinfer'
residuals(object, ...)Arguments
- object
An object returned by
hcinfer().- ...
Unused.
