Computes residuals from the VO2 kinetics model.

get_residuals(.model)

Arguments

.model

A model of class nls.

Value

a tibble containing the data passed to augment, and additional columns:

.fitted

The predicted response for that observation.

.resid

The residual for a particular point.

standardized_residuals

Standardized residuals.

sqrt_abs_standardized_residuals

The sqrt of absolute value of standardized residuals.

lag_residuals

The lag of the .resid column for plotting auto-correlation.