Creates a ggplot2 object using greatly simplified syntax
1 2 3 4 5 | ezplot(data, aggr = NULL, plot_type = "col", x, y = NULL, group = NULL,
position = "identity", facet = NULL, facet_x = NULL, facet_y = NULL,
palette = NULL, ci = NULL, error_type = "errorbar", error_args = NULL,
text = FALSE, text_round = function(x) signif(x, 3), text_args = NULL,
title = NULL, subtitle = NULL, caption = NULL, ...)
|
data |
( |
aggr |
( |
plot_type |
|
x |
Variable to use on X-axis |
y |
Variable to use on Y-axis |
group |
(Optional) Variable to group by |
position |
|
facet |
(Optional) Variable to facet by using |
facet_x |
(Optional) Variable to facet by using |
facet_y |
(Optional) Variable to facet by using |
palette |
(Optional) Color palette to use for fill |
ci |
(Optional) Confidence interval to use for visualizing error |
error_type |
(Optional) Type of visualization to use for error. Default
is
|
error_args |
(Optinoal) List of additional arguments to pass to error plotting function |
text |
|
text_round |
|
text_args |
(Optional) List of additional arguments to pass to geom_text |
... |
(Optional) Additional parameters to pass to the geom function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.