powered by
Copy between lower left and upper right triangles of a matrix.
copy.tri(x, from = "lower")
a matrix.
triangle to copy from. Can be "lower" or "upper".
# NOT RUN { x <- matrix(1:9, nrow = 3) print(x) copy.tri(x) # }
Run the code above in your browser using DataLab