Nothing
# given a matrix index k, find the corresponding coordinate in the matrix mat
#
# Author: benderc
###############################################################################
coord <- function(k,mat) {
y <- ceiling(k/nrow(mat))
x <- k%%nrow(mat)
if(x==0) {
x <- nrow(mat)
}
return(c(x,y))
}
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.