The function calculates and returns the mean of the upper-triangular portion of a matrix
1 | get_mean_dist_from_matrix(temp_mat)
|
get_mean_dist_from_matrix returns the upper-triangular mean of temp_mat, exluding the zeros from the diagonal or the lower-triangular portion of the matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.