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".
Eric Archer eric.archer@noaa.gov
x <- matrix(1:9, nrow = 3) print(x) copy.tri(x)
Run the code above in your browser using DataLab