Nothing
gridBy <-
function(lim = c(0, 1), by = (lim[2] - lim[1]) / 10) {
gridlist <- list()
for (idx in 1:(length(lim)/2)) {
if (length(by) == 1) {
gridlist[[idx]] <- seq(lim[2 * idx - 1], lim[2 * idx], by = by)
} else {
gridlist[[idx]] <- seq(lim[2 * idx - 1], lim[2 * idx], by = by[idx])
}
}
grid <- as.matrix(expand.grid(gridlist))
colnames(grid) <- NULL
dim <- sapply(gridlist, length)
out <- list("dim" = dim, "lim" = lim, "grid" = grid)
return(out)
}
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.