plot_contrasts.event_model | R Documentation |
Produces a heatmap of all contrasts defined for an event_model
.
Rows = each contrast (or column of an F-contrast), columns = each regressor in
the full design matrix, and the fill color = the contrast weight.
## S3 method for class 'event_model'
plot_contrasts(
x,
absolute_limits = FALSE,
rotate_x_text = TRUE,
scale_mode = c("auto", "diverging", "one_sided"),
coord_fixed = TRUE,
...
)
x |
An |
absolute_limits |
Logical; if |
rotate_x_text |
Logical; if |
scale_mode |
Character; 'auto', 'diverging', or 'one_sided' color scaling. |
coord_fixed |
Logical; if TRUE, use fixed aspect ratio. |
... |
Further arguments passed to |
A ggplot2
object (a heatmap).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.