Description Usage Arguments Examples
Converts a matrix to upper triangular form
1 | upperTriangular(A, roundedTo = 4)
|
A |
= matrix |
roundedTo |
= integer to round to |
1 2 3 4 5 6 7 | K <- matrix(c(1,4,5,3,5,
6,5,4,3,2,
6,7,8,9,0,
4,3,2,5,6,
6,6,7,8,8), nrow=5, byrow=TRUE)
upperTriangular(K)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.