Matrix2Inci <- function(mat.data) { data <- c(length(mat.data[1, ]), apply(mat.data, 1, sum)) return(data) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.