compGraph | R Documentation |
The Components Network Graph is meant to visualize the frequency of components’ combinations found in the network.
compGraph( model, sep = "+", mostF = 5, excl = NULL, title = "Most frequent combinations of components", print_legend = TRUE, size_legend = 0.825 )
model |
An object of class |
sep |
A single character that defines the separator between interventions components. |
mostF |
Number of most frequent combinations of the network. |
excl |
A character vector that specifies the combinations to be excluded from the plot. |
title |
A single character that specifies the overall title of the plot. |
print_legend |
|
size_legend |
size of the legend. |
The function resembles a network plot where nodes represent the individual components found in the network
and edges represent the combination of components found in at least one treatment arm of the trials included in the
network meta-analysis model. Each edge’s color represents one of the unique interventions (components’ combination)
found in the network of interventions. Edges’ thickness indicates the frequency by which each intervention
(combination of components) was observed in the network (number of arms in which the combination was assigned).
The number of the most frequent combinations can be modified from the argument mostF
. The function by
default plots the five most frequent components' combinations found in the network.
Returns (invisibly) a qgraph
object.
The function can be applied only in network meta-analysis models that contain multi-component interventions.
data(nmaMACE) compGraph(model = nmaMACE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.