powered by
Creates an upper triangular square matrix from a vector.
triang( v, n )
vector
desired dimension of the returned square matrix
Arne Henningsen
veclipos.
veclipos
v <- c( 1:5 ) triang( v, 3 )
Run the code above in your browser using DataLab