
The plot()
method for the performance::check_homogeneity()
function.
# S3 method for see_check_homogeneity
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)
model <<- lm(len ~ supp + dose, data = ToothGrowth)
result <- check_homogeneity(model)
result
plot(result)
# }
Run the code above in your browser using DataLab