Extracts the residuals of a (standardized) major axis fit.

# S3 method for sma
residuals(object, ...)

Arguments

object

Object of class 'sma'.

...

Further arguments ignored.

Value

A vector of residuals.

Details

Residuals are calculated as y-bx-a for each group. These values are useful in assumption checking, especially in constructing residual vs fitted value plots.

See also