Learn R Programming

see (version 0.10.0)

plot.see_estimate_contrasts: Plot method for estimating contrasts

Description

The plot() method for the modelbased::estimate_contrasts() function.

Usage

# S3 method for see_estimate_contrasts
plot(x, data = NULL, ...)

Value

A ggplot2-object.

Arguments

x

An object.

data

The original data used to create this object. Can be a statistical model.

...

Arguments passed to or from other methods.

Examples

Run this code
if (FALSE) { # require("emmeans")
# \donttest{
library(modelbased)

model <- lm(Sepal.Width ~ Species, data = iris)
contrasts <- estimate_contrasts(model)
means <- estimate_means(model)
plot(contrasts, means)
# }
}

Run the code above in your browser using DataLab