Learn R Programming

smatr (version 3.5-1)

residuals.sma: Extract model residuals

Description

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

Usage

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

Value

A vector of residuals.

Arguments

object

Object of class 'sma'.

...

Further arguments ignored.

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

sma, plot.sma