## Helper function to get the lower triangle of a matrix
##
## @param x a matrix
##
## @return a vector of values from the lower triangle of the matrix
##
##
lower_triangle<-function(x){
x[lower.tri(x)]
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.