Returns a matrix of logicals the same size of a given matrix with
TRUE in the lower or upper triangle.
a matrix or other R object with
logical. Should the diagonal be included?
col on which
upper.tri() are built.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.