residuals.drc {drc} | R Documentation |
'residuals' extracts residuals from an object of class 'drc'.
## S3 method for class 'drc': residuals(object, type = c("working", "standardised"), ...)
object |
an object of class 'drc'. |
type |
character string. The type of residual to be returned. |
... |
additional arguments. |
Raw or standardised residuals extracted from 'object'.
The 'standardised' residuals are available for least squares estimation with or without Box-Cox transformation or variance as a power of the mean.
Christian Ritz
## Fitting a four-parameter log-logistic model ryegrass.m1 <- drm(rootl ~conc, data = ryegrass, fct = LL.4()) ## Displaying the residual plot (raw residuals) plot(fitted(ryegrass.m1), residuals(ryegrass.m1)) ## Using the standardised residuals plot(fitted(ryegrass.m1), residuals(ryegrass.m1, type = "standard"))