Designed for easy-to-use plotting with temporal networks. Essentially just a
wrapper for running plotNet
twice---once for a temporal
network, and again for a contemporaneous network---and plotting the two
networks in the same window. Good for a quick glance at results from a SUR
network. Also compatible with mlGVAR
and lmerVAR
outputs, although can only plot two networks in the same window.
plotNet3
can be used to plot 3 networks.
plotNet2(
object,
whichNets = NULL,
whichTemp = c("temporal", "PDC"),
titles = c("PDC ", "PCC "),
...
)
Output from fitNetwork
, specifically with a SUR
model.
Vector of length 2 indicating which networks to plot.
"beta"
and "temporal"
both refer to the unstandardized
temporal network coefficients, while "PDC"
refers to the
standardized temporal network. "PCC"
and "contemporaneous"
both refer to the standardized residual covariance matrix (the
contemporaneous network). If the object
is fitted with
mlGVAR
or lmerVAR
, then "between"
is
also an option for plotting the between-subjects network.
Which version of the temporal network should be plotted,
either "temporal"
or "PDC"
. This argument is ignored if
whichNets
is not NULL
.
Character vector of length 2 where custom names for the two network plots can be supplied.
Additional arguments.
Returns two network plots side by side.
# NOT RUN {
x <- fitNetwork(gvarDat, lags = TRUE)
plotNet2(x)
# }
Run the code above in your browser using DataLab