shade = function(x, y1, y2, col = hsv(alpha=0.5), border = NA, ...){ x = c(x, rev(x)) y = c(y1, rev(y2)) polygon(x, y, col=col, border=border, ...) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.