unvectorize {TestCor}R Documentation

Returns an upper-triangle matrix, without the diagonal, containing the elements of a given vector.

Description

Returns an upper-triangle matrix, without the diagonal, containing the elements of a given vector.

Usage

unvectorize(vect)

Arguments

vect

A vector containing the upper triangle of a matrix, without the diagonal

Value

Returns an upper-triangle matrix where each entry is given by the vector containing the upper triangle of a matrix, without the diagonal.

See Also

vectorize

Examples

unvectorize(1:10)

[Package TestCor version 0.0.2.2 Index]