#' Sum a matrix
#'
#' This function sums up one numeric matrix
#'
#' @param matrix The matrix to be summed
#'
#' @return Integer
#' @export
sum_matrix <- function(matrix){
# sum the matrix
sum <- sum(matrix)
return(sum)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.