dvech: Diagonal vectorization

View source: R/utils.R

dvechR Documentation

Diagonal vectorization

Description

Diagonal vectorization of the upper triangular matrix

Usage

dvech(X, a, d, p, inc_diag)

Arguments

X

quadratic matrix which should be diagonalized

a

vector containing the indices which belong to the diagonal of the matrix

d

dimension of the matrix which should be vectorized

p

dimension of the vectorized matrix

inc_diag

TRUE or FALSE: should the diagonal be included?

Value

vector


CovCorTest documentation built on June 8, 2025, 11:50 a.m.