Description Usage Arguments Value Examples
Copy the upper matrix triangle to the lower one
1  | matrixdiagcopy(.mat)
 | 
.mat | 
 Matrix.  | 
Matrix with its upper tri part copied to the lower tri part.
1 2 3 4 5  | mat <- matrix(0, 3, 3)
mat
mat[1, 3] <- 1
mat <- immunarch:::matrixdiagcopy(mat)
mat
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.