Learn R Programming

backShift (version 0.1.4.3)

plotInterventionVars: Plots the estimated intervention variances.

Description

Plots the estimated intervention variances.

Usage

plotInterventionVars(estIntVars, trueIntVars = NULL, scales_facet = "free")

Arguments

estIntVars

A (Gxp)-dimensional matrix with the estimated intervention variances returned by backShift (as varianceEnv). G is the number of unique environments, p is the number of variables.

trueIntVars

A (Gxp)-dimensional matrix with the true intervention variances if these are known (for simulations). By default this paramter is set to NULL.

scales_facet

scales argument passed to ggplot's facet_wrap