subdiagonal_mean_ratio_fct: Transformation of the vectorized covariance matrix by...

View source: R/covariance_utils.R

subdiagonal_mean_ratio_fctR Documentation

Transformation of the vectorized covariance matrix by quotients of means

Description

A function which calculates the mean of the secondary diagonals and divide them through the next one. Since the elements can be negative, for the denominator absolute values are used.

Usage

subdiagonal_mean_ratio_fct(v, a, d)

Arguments

v

vectorized covariance matrix which should be transformed

a

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

d

dimension of the covariance matrix

Value

a transformed vector


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