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