Skip to contents

Extract residuals from an mkinfit model

Usage

# S3 method for mkinfit
residuals(object, standardized = FALSE, ...)

Arguments

object

A mkinfit object

standardized

Should the residuals be standardized by dividing by the standard deviation obtained from the fitted error model?

...

Not used

Examples

f <- mkinfit("DFOP", FOCUS_2006_C, quiet = TRUE)
residuals(f)
#> [1]  0.09726374 -0.13912142 -0.15351210  0.73388322 -0.08657004 -0.93204702
#> [7] -0.03269080  1.45347823 -0.88423697
residuals(f, standardized = TRUE)
#> [1]  0.13969917 -0.19981904 -0.22048826  1.05407091 -0.12433989 -1.33869208
#> [7] -0.04695355  2.08761977 -1.27002287