Description Usage Arguments Details Value
Function for Generating a legend from fcol
1 | scaleImage(fcol, lv, nb = 0, w = 5, h = 10)
|
fcol |
function to convert raster values into an hex colour scheme |
lv |
values to label on the legend |
nb |
number of values to generate between the legend values |
w |
width of plot |
h |
height of plot |
fcol should take a vector of n values and return an n hex colour values which should include transparency.
String of class svg from svglite containing the svg image.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.