residuals.sma {smatr} | R 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
[Package smatr version 3.4-8 Index]