copy.tri | R Documentation |
Copy between lower left and upper right triangles of a matrix.
copy.tri(x, from = "lower")
x |
a matrix. |
from |
triangle to copy from. Can be "lower" or "upper". |
a matrix.
Eric Archer eric.archer@noaa.gov
x <- matrix(1:9, nrow = 3)
print(x)
copy.tri(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.