Skip to contents

Dispatches to stats::residuals() for the fitted lm; grouped and pairwise results raise an informative error.

Usage

# S3 method for class 'linear_regression'
residuals(object, ...)

Arguments

object

A linear_regression result (ungrouped, listwise).

...

Passed to the lm method.

Value

A numeric vector.