residuals.sma: Extract model residuals

View source: R/residuals.sma.R

residuals.smaR Documentation

Extract model residuals

Description

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

Usage

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

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.

Value

A vector of residuals.

See Also

sma, plot.sma


dfalster/smatr3 documentation built on Aug. 30, 2022, 5:25 a.m.