Randomised residuals
quantile_residuals(model, type = c("pit", "quantile"), seed = NULL, ...)# S3 method for gam
quantile_residuals(model, type = c("pit", "quantile"), seed = NULL, ...)
# S3 method for glm
quantile_residuals(model, type = c("pit", "quantile"), seed = NULL, ...)
a fitted model object.
character; which type of randomised residual to return
integer; the random seed to use when generating randomised residuals. Can be missing, in which case the current state residuals are computed using the current state of the random number generator.
arguments passed to other methods.