Description Usage Arguments Note Author(s) See Also Examples
Creates an upper triangular square matrix from a vector.
1 | triang( v, n )
|
v |
vector |
n |
desired dimension of the returned square matrix |
If the vector has less elements than the upper triangular matrix, the last elements are set to zero.
Arne Henningsen
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.