Learn R Programming

smatr (version 3.4-8)

residuals.sma: Extract model residuals

Description

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

Usage

# 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

sma, plot.sma