#' generate n x k random matrix, generic version
randMat <- function(n, k, type = runif, ...){
return(
matrix(
do.call(type, args = list(n*k, ...)),
nrow = n, ncol = k)
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.