vectorize: Returns a vector containing the upper triangle of a matrix,...

Description Usage Arguments Value See Also Examples

View source: R/RcppExports.R

Description

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

Usage

1
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

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

TestCor documentation built on Oct. 23, 2020, 5:31 p.m.