plot.see_check_homogeneity {see} | R Documentation |
The plot()
method for the performance::check_homogeneity()
function.
## S3 method for class 'see_check_homogeneity'
plot(x, data = NULL, ...)
x |
An object. |
data |
The original data used to create this object. Can be a statistical model. |
... |
Arguments passed to or from other methods. |
A ggplot2-object.
library(performance)
model <<- lm(len ~ supp + dose, data = ToothGrowth)
result <- check_homogeneity(model)
result
plot(result)