Description Usage Arguments Value
Add a custom color gradient to a base R plot
1 | legend_col(col, level, side = 4)
|
col |
a chracter vector as returned from colorRampPalette |
level |
a factor generated by cutting a continuous variable into many pieces (e.g. 100) |
side |
where to draw the color gradient, default is 4, i.e. right |
added a color gradient to existing plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.