Description Usage Arguments Details Value See Also
Extract summary results for a direct meta-analysis
1 2 | extractDirectRes(metaRes, effect, intervention = "Int", comparator = "Con",
interventionCode = NA, comparatorCode = NA, backtransf = FALSE)
|
metaRes |
An object of class |
effect |
a character string describing the effect estimate, e.g. 'Rate Ratio', 'Odds Ratio', 'Hazard Ratio' |
intervention |
A character string describing the name of the intervention. Defaults to 'Int' if not provided |
comparator |
A character string describing the name of the comparator. Defaults to 'Con' if not provided |
backtransf |
A logical indicating whether results should be back
transformed. If |
This function extracts the results of a meta-analysis from a
list-type object produced by the meta package and returns them as a
data frame. If there is only one study comparing two treatments then no
meta-anlaysis is performed but the results of the primary study are
included in the output. In this case the fields Model,
Tau.sq, method.tau and I.sq in the output will be
blank as these fields have no meaning for a single study. This is useful if
you want to use these results to perform simple indirect (Bucher) analyses.
If more than one study is available then both fixed effect and random effects results will be returned
A data frame with the following columns:
Intervention The name of the intervention
InterventionCode The ID number of the intervention in the
current set of analyses. NA if not provided
Comparator The name of the comparator
ComparatorCode The ID number of the comparator in the current
set of analyses
Effect The type of effect measure. Takes the
value of the effect argument
Model The type of model. Fixed effect or Random Effects.
Blank if there is only one study
log.TE The treatment effect on log scale, e.g. log OR
seTE.log The standard error for the log treatment effect
log.lower, log.upper The upper and lower 95% confidence
intervals for the log treatment effect
z, p The z-value and corresponding p-value for the test
of effect
level The level for the confidence intervals. Defaults to 0.95
for a 95% confidence interval
TE, lower, upper The treatment effect with lower
and upper confidence intervals backtransformed to a linear scale
Tau.sq The heterogeneity variance
I.sq, I.sq.lower, I.sq.upper The heterogeneity statistic
I-squared with upper and lower confidence intervals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.