powered by
make.symmetric(a, lower.tri = TRUE)
a = matrix(rnorm(16), ncol=4) make.symmetric(a, lower.tri=FALSE)
Run the code above in your browser using DataLab