Extract Model Residuals

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

Arguments

object

an object from slmfit

...

additional arguments

Value

a vector of residuals. Without detection, the residuals are each observed count minus the estimated mean. With detection, the residuals are each observed count minus (estimated mean times the estimated detection).