plot.qgraph | R Documentation |
Plots an object created by qgraph
.
## S3 method for class 'qgraph'
plot(x, ...)
x |
A "qgraph" object |
... |
Not used |
If the result of qgraph
is stored, such as Graph <- qgraph(...)
, the plot can be recreated in two ways. qgraph(Graph, ...))
reruns qgraph
with the same arguments used in the origina call except those restated in the dots. For example qgraph(Graph, shape = "square")
will recreate the same plot but now use square nodes instead of circular. plot(Graph)
will NOT rerun qgraph
but simply plot the qgraph object. This means that now specific graph attributes can be changed before plotting.
More specific, qgraph(Graph)
will base the new plot on the Arguments
element of the qgraph
object and plot(qgraph)
will base the new plot on the graphAttributes
element of qgraph.
Sacha Epskamp (mail@sachaepskamp.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.