### Generic functions to help with testing #################################
sp2mat <- function(m) {
return(as.matrix(m))
}
mat2sp <- function(m) {
return(Matrix(m, sparse=TRUE))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.