vectorize {TestCor}R Documentation

Returns a vector containing the upper triangle of a matrix, without the diagonal.

Description

Returns a vector containing the upper triangle of a matrix, without the diagonal.

Usage

vectorize(mat)

Arguments

mat

a square matrix

Value

Returns a vector containing the upper triangle of a matrix, without the diagonal.

See Also

unvectorize

Examples

vectorize(matrix(1:9,3,3))

[Package TestCor version 0.0.2.2 Index]