Description Usage Arguments Value Examples
This histogram function creates and returns a ggplot object with a color scale dependent on the X value (default as all colors being grey) as well as the possibility for vertical lines that describe different properties of the distribution (mean, median, etc) added on top of the graph.
1 | intensity_pallette(start, r, gamma, hue_list = c(0.5, 1, 3))
|
start |
numeric start-point for cubehelix color ramp |
r |
number of rotations through cubehelix color ramp |
gamma |
numeric; how light or dark you want it to be 1: normal, higher:darker, lower: lighter |
hue |
numeric;how bright you want the colors to be 1: normal, higher: brighter, lower: more demure |
color_value_breaks |
values to break colors at |
dist_stats |
which distribution to use |
an adapted cubehelix color pallette, increasing in intensity.
1 | intensity_pallette(start=0.5,r=.5,gamma=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.