Returns a vector containing the upper triangle of a matrix, without the diagonal.
vectorize(mat)
a square matrix
# NOT RUN { vectorize(matrix(1:9,3,3)) # }
Run the code above in your browser using DataLab