R/matrix_addition.R

Defines functions sum_matrix

Documented in sum_matrix

#' Sum a matrix
#' 
#' This function sums up one sumeric matrix
#' 
#' @param matrix The matrix to be summed
#' 
#' @return Integer
#' @export 
#' 
#' @example 

sum_matrix <- function(matrix){
    
    sum <- sum(matrix)
    
    return(sum)
}
vcameron1/netwerk documentation built on Dec. 23, 2021, 3:01 p.m.