| S3method.network | R Documentation |
cor_net(), BNs_dag(), and DPI_dag(). Transform qgraph into ggplot
plot(cor.net)
plot(bns.dag)
plot(dpi.dag)
Plot network results
print(cor.net)
print(bns.dag)
print(dpi.dag)
## S3 method for class 'cor.net'
plot(x, scale = 1.2, ...)
## S3 method for class 'cor.net'
print(x, scale = 1.2, file = NULL, width = 6, height = 4, dpi = 500, ...)
## S3 method for class 'bns.dag'
plot(x, algorithm, scale = 1.2, ...)
## S3 method for class 'bns.dag'
print(
x,
algorithm = names(x),
scale = 1.2,
file = NULL,
width = 6,
height = 4,
dpi = 500,
...
)
## S3 method for class 'dpi.dag'
plot(
x,
k = min(x$DPI$k.cov),
show.label = TRUE,
digits.dpi = 2,
faded.dpi = FALSE,
faded.dpi.limit = c(0, 0.25),
color.dpi.insig = "#EEEEEEEE",
scale = 1.2,
...
)
## S3 method for class 'dpi.dag'
print(
x,
k = min(x$DPI$k.cov),
show.label = TRUE,
digits.dpi = 2,
faded.dpi = FALSE,
faded.dpi.limit = c(0, 0.25),
color.dpi.insig = "#EEEEEEEE",
scale = 1.2,
file = NULL,
width = 6,
height = 4,
dpi = 500,
...
)
x |
Object (class |
scale |
Scale the |
... |
Other arguments (currently not used). |
file |
File name of saved plot ( |
width, height |
Width and height (in inches) of saved plot. Defaults to |
dpi |
Dots per inch (figure resolution). Defaults to |
algorithm |
[For |
k |
[For |
show.label |
[For |
digits.dpi |
[For |
faded.dpi |
[For |
faded.dpi.limit |
[For |
color.dpi.insig |
[For |
Return a ggplot object that can be further modified and used in ggplot2::ggsave() and cowplot::plot_grid().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.