computeDiagonalization {backShift}R Documentation

Computes the matrix \Delta \Sigma_{c,j} resulting from the joint diagonalization for a given environment (cf. Eq.(7) in the paper). If the joint diagonalization was successful the matrix should be diagonal for all environments $j$.

Description

Computes the matrix \Delta \Sigma_{c,j} resulting from the joint diagonalization for a given environment (cf. Eq.(7) in the paper). If the joint diagonalization was successful the matrix should be diagonal for all environments $j$.

Usage

computeDiagonalization(estConnectivity, X, env, whichEnv, main = NULL)

Arguments

estConnectivity

Estimate for connectivity matrix returned by backShift.

X

Data matrix

env

Indicator of the experiment or the intervention type an observation belongs to (a numeric vector of length n).

whichEnv

Indicator for the environment for which the matrix \Delta\Sigma_{c,j}$ should be computed.

main

Optional title for plot; defaults to paste("Env.", whichEnv)


[Package backShift version 0.1.4.3 Index]