#' Title
#'
#' @param x
#'
#' @return
#' @export
matrix_sum <- function(x) {
if (is.matrix(x) != T) {stop("Not a matrix!")}
return(sum(x))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.