Learn R Programming

backShift (version 0.1.4.3)

plotDiagonalization: Plots the joint diagonalization. I.e. if it was successful the matrices should all be diagonal.

Description

Plots the joint diagonalization. I.e. if it was successful the matrices should all be diagonal.

Usage

plotDiagonalization(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 to be plotted.

main

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