Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/hist_cut_color.R
Histogram with cut colors
1 2 3 4 5 6 7 8 9 |
vec |
a numeric vector |
cutoff |
numeric valu(s) of cut points (atomic or vector) |
cols |
vector of colors to use, if NULL, |
legend_title |
title of the legend |
legend_labels |
character vector of label of the legends |
n_bins |
number of bins |
... |
other parameters passed to |
Partition histogram by color - output is a ggplot2 object which can be extended using labs
etc
a histogram with different colors b/w cutoff points
Al J Abadi, aljalabadi@gmail.com
Other plot:
gg_color_hue()
1 | hist_cut_color() + labs(x='X label here', title='Main title here')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.