plot_hd_bars | R Documentation |
plot_scat2
.
See examples in the README file and the vignettes.Add bars marking quantiles to ggplot object created by plot_scat2
.
See examples in the README file and the vignettes.
plot_hd_bars( p, q_seq = seq(0.1, 0.9, 0.1), col = "grey21", width = 0.5, q_size = 0.5, md_size = 1, alpha = 1 )
p |
A ggplot object returned by |
q_seq |
A sequence of quantiles - default = deciles. |
col |
Colour of the bars |
width |
Length of the bars |
q_size |
Thickness of the bars, except for the median |
md_size |
Thickness of the median bar |
alpha |
Alpha transparency |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.