residuals-dr4pl function

Compute dr4pl residuals.

Compute dr4pl residuals.

## S3 method for class 'dr4pl' residuals(object, parm = NULL, ...) ## S3 method for class 'dr4pl_param' residuals(object, dose, response, ...)

Arguments

  • object: A dr4pl or dr4pl_param object.
  • parm: parameters of the dr4pl object. Usually made with [dr4pl_theta]
  • ...: dots for future extensions
  • dose: Dose values
  • response: Response values

Returns

Vector of residuals.