powered by
The plot() method for the performance::check_heteroscedasticity() function.
plot()
performance::check_heteroscedasticity()
# S3 method for see_check_heteroscedasticity plot(x, data = NULL, ...)
An object.
The original data used to create this object. Can be a statistical model or such.
Arguments passed to or from other methods.
A ggplot2-object.
# NOT RUN { library(performance) m <- lm(mpg ~ wt + cyl + gear + disp, data = mtcars) result <- check_heteroscedasticity(m) result plot(result, data = m) # data required for pkgdown # }
Run the code above in your browser using DataLab