ggHistogram | R Documentation |
The dashed line represents the median.
ggHistogram(
df,
x,
y,
fill,
facet = NULL,
colors = NULL,
facet_type = "wrap",
facet_scales = "free",
facet_space = "free",
facet_ncol = NULL,
facet_nrow = NULL
)
df |
A data.frame of plot data. |
x |
A string of the column name for x. |
y |
A string of the column name for y. |
fill |
A string of the column name for fill. |
facet |
(Optional) A string of the column name for facet. Currently facetting with only onw variable is implemented. |
colors |
(Optional) A vector of colors. |
facet_type |
The facetting type. Can be either "wrap" or "grid". |
facet_scales |
The facetting scales. |
facet_space |
The spacing scheme in the facetting grid. |
facet_ncol |
Number of columns. |
facet_nrow |
Number of rows. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.