residuals.asm function

Residuals from an asm regression model

Residuals from an asm regression model

Outputs the residuals (on the training data) from a fitted asm regression model

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

Arguments

  • object: asm object
  • ...: additional arguments to ensure compatibility with the generic function residuals()

Returns

vector of residuals from the asm regression model

Examples

model = asm(mpg ~ cyl + hp + disp, data=mtcars) residuals(model)
  • Maintainer: Min Xu
  • License: GPL (>= 3)
  • Last published: 2025-03-23

Useful links