Nothing
#' @export
#' @rdname itemScaleColours
uniDimColors <- function(start,
end,
length,
show=TRUE) {
res <- grDevices::colorRampPalette(c(start, end))(length);
if (show) {
graphics::plot(
rep(1,length),
col=res,
pch=15,
cex=3,
axes=FALSE,
xlab="",
ylab="");
}
return(res);
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.