plotNet3 {modnets}R Documentation

Plot temporal, contemporaneous, and between-subject networks

Description

Quick, easy plotting for mlGVAR and lmerVAR output. Allows one to plot three networks in the same window: temporal, contemporaneous, and between-subject.

Usage

plotNet3(
  object,
  ...,
  nets = c("temporal", "contemporaneous", "between"),
  titles = TRUE,
  l = 3,
  label = NULL,
  xpos = 0,
  ypos = 0.5
)

Arguments

object

Output from mlGVAR or lmerVAR.

...

Additional arguments.

nets

Character vector of length 3 indicating which networks to plot, and in what order. Same options as for which.net in plotNet.

titles

If TRUE, then uses default titles for temporal, contemporaneous, and between-subject networks. If FALSE, then no titles will be used. Can also be a character vector to provide custom plot titles.

l

A numeric value to indicate a type of pane layout.

label

Can include a character string for text annotation.

xpos

Numeric, x-axis value for where the text annotation should go. Between 0 and 1.

ypos

numeric, y-axis value for where the text annotation should go. Between 0 and 1.

Value

Returns 3 network plots.

See Also

mlGVAR, lmerVAR

Examples


x <- mlGVAR(mlgvarDat, 'M')
plotNet3(x)


[Package modnets version 0.9.0 Index]