subset.inc {metainc} | R Documentation |
Decision Inconsistency index and Across-Studies Inconsistency index in subsets of studies
Description
Computation of the Decision Inconsistency index and the Across-Studies Inconsistency index for specific subsets of studies (allowing for subgroup analysis).
Usage
## S3 method for class 'inc'
subset(x, data, subset, ...)
Arguments
x |
An object created with |
data |
A data frame with the same number of primary studies as those included in the meta-analysis and containing the variables based on which subset analysis is to be performed. |
subset |
A logical vector to select studies for subset analysis. |
... |
Additional arguments (ignored). |
Details
Computes the Decision Inconsistency index and the Across-Studies Inconsistency index for a subset (subgroup) of studies.
Value
An object of class inc
.
Author(s)
Bernardo Sousa-Pinto bernardo@med.up.pt, Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
Examples
data(anticoagulation)
inc_anticoagulation <-
inc(anticoagulation, dt1 = 16, dt2 = 31, dt3 = 60,
br = 0.5, sm = "OR", transf = FALSE)
inc_anticoagulation
# Example with subset analysis restricted to studies with a low risk of bias:
data(anticoagulation_df)
subset1_anticoagulation <-
subset(inc_anticoagulation, anticoagulation_df, RoB == "Low")
subset1_anticoagulation
# Example with subset analysis excluding studies with a high risk of bias
# (resulting in the same subset of studies as no study has "Moderate" RoB):
subset2_anticoagulation <-
subset(inc_anticoagulation, anticoagulation_df, RoB != "High")
subset2_anticoagulation
[Package metainc version 0.2-0 Index]