cor_network | R Documentation |
Correlation network plot.
cor_network(
data,
index = c("cor", "pcor"),
show.value = TRUE,
show.insig = FALSE,
show.cutoff = FALSE,
faded = FALSE,
text.size = 1.2,
node.group = NULL,
node.color = NULL,
edge.color.pos = "#0571B0",
edge.color.neg = "#CA0020",
edge.color.insig = "#EEEEEEEE",
title = NULL,
file = NULL,
width = 6,
height = 4,
dpi = 500,
...
)
data |
Data. |
index |
Type of graph: |
show.value |
Show correlation coefficients and their significance on edges.
Defaults to |
show.insig |
Show edges with insignificant correlations (p > 0.05).
Defaults to |
show.cutoff |
Show cut-off values of correlations.
Defaults to |
faded |
Transparency of edges according to the effect size of correlation.
Defaults to |
text.size |
Scalar on the font size of variable labels.
Defaults to |
node.group |
A list that indicates which nodes belong together, with each element of list as a vector of integers identifying the column numbers of variables that belong together. |
node.color |
A vector with a color for each element in |
edge.color.pos |
Color for (significant) positive correlations.
Defaults to |
edge.color.neg |
Color for (significant) negative correlations.
Defaults to |
edge.color.insig |
Color for insignificant correlations.
Defaults to |
title |
Plot title. |
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 |
... |
Other parameters passed to |
Invisibly return a qgraph
object.
cor_network(airquality)
cor_network(airquality, show.insig=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.