tofull <- function(matrix) { out <- matrix for (i in 1:nrow(matrix)) { for (j in 1:i) { out[j, i] <- out[i, j] } } return(out) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.