compdesc {viscomp} | R Documentation |
Components descriptive analysis
Description
The function performs a descriptive analysis regarding the frequency of the components in the network meta-analysis model.
Usage
compdesc(model, sep = "+", heatmap = TRUE, percentage = TRUE, digits = 2)
Arguments
model |
An object of class netmeta .
|
sep |
A single character that defines the separator between interventions components.
|
heatmap |
logical . If TRUE a heat matrix of the component's frequency is plotted.
|
percentage |
logical . If TRUE combinations' percentages are printed as a number instead of fraction value in the heatmap .
|
digits |
A single integer value that specifies the percentages' decimal places in the heatmap .
|
Value
A list containing three items
crosstable |
A cross-table containing the frequency of the components. Each cell represents the number of arms where the corresponding component combination was observed.
|
frequency |
A data.frame that contains the component's frequency. Columns
-
Component denotes the name of each component
Frequency denotes the number of arms where the component was observed
A denotes the number of studies in which the corresponding component was included in all arms
A_percent denotes the percentage of studies in which the corresponding component was included in all arms
B denotes the number of studies in which the corresponding component was included in at least one arm
B_percent denotes the percentage of studies in which the corresponding component was included in at least one arm
C denotes the number of studies in which the corresponding component was not included in any arm
C_percent denotes the percentage of studies in which the corresponding component was not included in any arm
A.B denotes the ratio of columns A and B .
|
heatmat |
An object of class ggplot that visualizes item crosstable . Diagonal elements refer to the components and in parentheses the proportion of study
arms including that component is provided, while off-diagonal elements to the frequency of component’s combinations and in parentheses the proportion of study arms with both components
out of those study arms that have the component in the row is provided. Also, the intensity of the color is proportional to the relative frequency of the component combination.
|
Note
The function can be applied only in network meta-analysis models that contain multi-component interventions.
Examples
data(nmaMACE)
compdesc(model = nmaMACE)
[Package
viscomp version 1.0.0
Index]