Description Usage Arguments Value Examples
This function allows you to perform a two-way meta-analysis of bootstrapped effect and cost data
1 |
x.bt |
list of each studies x axis bootstrap values. |
y.bt |
list of each studies y axis bootstrap values. |
type |
character which type of meta-analysis to perform. Acceptes either of 'fixed', 'random' or 'both'. Defaults to 'both'. |
study.names |
character with readable names of the studies. Defaults to NULL, in which case the names of x.bt will be used (with a warning if names of y.bt are different or not available). If x.bt has no names, 'Study A','Study B', etc will be used. |
meta2way returns an object of class "meta2way" which represents a two-way meta-analysis of studies, e.g. cost-effectiveness studies. The function plot can be used to plot the two dimensions of the meta-analysis, such as a cost-effectiveness plane. The function print will display the summary results of each study and the meta-analysis for the two dimentions. The function willing2pay can be used to plot a willingness to pay curve. An object of class "meta2way" is a named list containing the following components:
named list with values for x-variable:
copy of x.bt; if study.names was provided, these will be used as names of bt
fixed effects meta analysis result for x
random effects meta-analysis result for x
value of Q for x
value of tau2 for x
value of I2 for x
named list with values for y-variable, same as x
character vector of study names
logical whether or not fixed effects meta-analysis is performed
logical whether or not random effects meta-analysis is performed
integer length 1 containing number of studies
integer length 1 containing number of bootstrap samples per study
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # perform meta-analysis using list of x-values and list of y-values
m <- meta2way(list(Abrahams=treatments$Abrahams2018.x, Baruch=treatments$Baruch2018.x),
list(Abrahams=treatments$Abrahams2018.y, Baruch=treatments$Baruch2018.y))
m
# this is a trick to do meta-analysis of the inverse comparison
m <- meta2way(list(Abrahams=-treatments$Abrahams2018.x, Baruch=-treatments$Baruch2018.x),
list(Abrahams=-treatments$Abrahams2018.y, Baruch=-treatments$Baruch2018.y))
m
# meta-analysis can also be performed using study2way objects
s1 <- study2way(treatments$Abrahams2018.x, treatments$Abrahams2018.y, 'Abrahams 2018')
s2 <- study2way(treatments$Baruch2018.x, treatments$Baruch2018.y, 'Baruch 2018')
m <- meta2way(s1, s2)
m
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.