Plot Method for mlVAR0

Description

The function plot.mlVAR0 plots estimated model coefficients as a network using qgraph.

FUNCTION IS DEPRECATED AND WILL BE REMOVED SOON.

Usage

1
2
3
4
5
6
  ## S3 method for class 'mlVAR0'
plot(x, type = c("fixed", "SD", "subject"), lag = 1,
                 subject, order, onlySig = FALSE, alpha, ...)
  ## S3 method for class 'mlVARsim0'
plot(x, type = c("fixed", "SD", "subject"), lag = 1,
                 subject, order,  ...)

Arguments

x

A mlVAR0 object obtained through the mlVAR0-function

type

Indicates whether to plot a network of fixed effects coefficients ("fixed"), the standard deviations of the random effect terms ("SD") or an individual subject's random effects network ("subject").

lag

Vector indicating the lags to include

subject

If type="subject", vector indicating the ID subject number

order

Order of nodes

onlySig

Logical. Set to TRUE to only plot significant fixed effects.

alpha

Significance level to test edges at if onlySig == TRUE. Defaults to Bonferonni corrected alpha level of 0.05 divided by the number of fixed effects.

...

Arguments sent to qgraph

Author(s)

Sacha Epskamp (mail@sachaepskamp.com), Marie K. Deserno (m.k.deserno@uva.nl) and Laura F. Bringmann (laura.bringmann@ppw.kuleuven.be)