Description Usage Arguments Examples
Plot a single histogram
1 2 3 4 5 6 7 8 | plot_hist(
df,
cont_var,
bins = 10,
fill = tidyquant::palette_light()[[3]],
colour = "white",
interactive = FALSE
)
|
cont_var |
A continuous variable to plot. |
bins |
A numeric scalar. Number of bins for histograms. |
fill |
A character scalar. Fill colour for histogram bars. |
colour |
A character scalor. Colour for outline of bars |
data |
A tibble. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.