Description Usage Arguments Value Examples
Plots a network diagram of the output of an EMMLi analysis. Nodes are proportionally sized to within-module rho, and lines are larger and darker according to between-module rho.
1 2 |
rhos |
The rhos that come out of an EMMLi analysis |
module_names |
The names of the modules - if absent generic numbers are used. If "rhos" then the nodes are named with the within-module rho. |
linecolour |
The colour of the joining lines. If a single colour, then lines will be that colour with width and transparency adjusted to the strength of the correlation. If "viridis" then lines are coloured according to the viridis colour palette, with darker colours corresponding to stronger correlations. |
title |
Title for the plot. |
layout |
A matrix describing the positions of each module on the canvas. See qgraph for details. |
A plotted network of the relationships between and within modules.
1 2 3 4 | data("macacaCorrel")
data("macacaModels")
emm <- EMMLi(corr = macacaCorrel, mod = macacaModels, N_sample = 20)
plotNetwork(emm$rho[[1]], linecolour = "viridis")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.