View source: R/get_network_plot.R
get_network_plot | R Documentation |
get network plot from qgraph objects.
get_network_plot(
network,
prefix = "",
path = ".",
device = "pdf",
width = 10,
height = 7,
get.matrix = TRUE,
...
)
network |
a qgraph object. |
prefix |
the prefix of output plot files. |
path |
the path of output files, can be either a relative or absolute path. |
device |
'pdf' or 'svg', deciding the output plot format. |
width |
the width of plot, in inch. |
height |
the height of plot, in inch. |
get.matrix |
logical. whether get the csv file of graph matrix. Default is TRUE. |
... |
other parameter from |
a network plot will be output to the specified path.
data('mtcars')
network <- quickNet(mtcars)
get_network_plot(network, prefix = 'test')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.