Plots the graph using the qgraph package and the qgraph
function. Defined as qgraph::qgraph(x[['graph']],labels=x[['labels']],...)
# S3 method for bootnetResult
plot(x, graph, weighted, signed, directed, labels, layout =
"spring", parallelEdge = TRUE, cut = 0, theme =
"colorblind", bootIncludeOverwrite = TRUE, ...)
A bootnetResult
object
Numeric or string indicating which graph to plot. Only needed when multiple graphs are estimated. For example, when using default = "graphicalVAR"
, graph = "temporal"
plots the temporal network and graph = "contemporaneous"
plots the contemporaneous network.
Logical, should the analyzed network be weighted?
Logical, should the analyzed network be signed?
Logical, is the analyzed network directed? Usually does not have to be set and is detected automatically.
Labels of the nodes. Defaults to the column names of the data if missing.
Placement of the nodes. See qgraph
. Always defaults to "spring"
.
Should edges in directed networks be plotted parallel? See qgraph
. Defaults to TRUE
instead of FALSE
(as in qgraph).
Should scaling in width and saturation of edges be split? See qgraph
. Defaults to 0
to disable cut (qgraph chooses a cutoff with at least 20 nodes).
Theme of the edge and node colors. See qgraph
. Defaults to "colorblind"
rather than the default used in qgraph ("classic"
).
Logical. If TRUE
, several plot defaults are overwritten when the input is the result of bootInclude
(e.g., edge colors are set to black and white).
Arguments sent to qgraph
.