View source: R/plot.estimate_contrasts.R
plot.see_estimate_contrasts | R Documentation |
The plot()
method for the modelbased::estimate_contrasts()
function.
## S3 method for class 'see_estimate_contrasts'
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(modelbased)
model <- lm(Sepal.Width ~ Species, data = iris)
contrasts <- estimate_contrasts(model)
means <- estimate_means(model)
plot(contrasts, means)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.