Description Usage Arguments Value Examples
View source: R/plot_dyn_profile.R
Translate density into colour, for graphix representation.
| 1 2 | 
| d | A density function, as returned by density() | 
| ylim | The limite of the drawned box on the Y axis, default is range(d$x) | 
| xlim | The limite of the drawned box on the X axis, default is c(0,1) | 
| nstripes | (integer) The number of horizontal stripes to plot per experiment, default is 1000 | 
| colors | The colors to use to construct the ramp, default is c("white", "darkblue") | 
| ncolors | (integer) The number of gradual colors of the ramp, default is 100 | 
The colors and coordinates to use to plot a given density
| 1 2 3 4 5 6 7 8 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.