Passer au contenu

Function to return a Q-Q plot of residuals for a linear model

Utilisation

qq_residual_plot(model)

Arguments

model

a linear model (lm) object

Valeur de retour

qq plot of residuals

Exemples

# Example usage:
fit <- lm(mpg ~ wt + hp, data = mtcars)
qq_residual_plot(fit)