study2way: Two-way analysis of bootstrapped effect and cost data

Description Usage Arguments Value Examples

Description

This function allows you to perform a two-way analysis of bootstrapped effect and cost data of a single study

Usage

1
study2way(x.bt, y.bt, study.name)

Arguments

x.bt

vector of the x axis bootstrap values.

y.bt

vector of the y axis bootstrap values.

study.name

character with readable name of the studies.

Value

study2way returns an object of class "study2way" which represents a two-way analysis of studies, e.g. cost-effectiveness studies. The function plot can be used to plot the two dimensions of the analysis, such as a cost-effectiveness plane. The function print will display the results of the study for the two dimentions. The function willing2pay can be used to plot a willingness to pay curve. An object of class "study2way" is a named list containing the following components:

x.bt

copy of x.bt

y.bt

copy of y.bt

study.name

character vector of study name

n.bt

integer length 1 containing number of bootstrap samples per study

Examples

1
2
3
4
5
6
7
8
# plot two-way analysis of study 1
s1 <- study2way(treatments$Abrahams2018.x, treatments$Abrahams2018.y, 'Abrahams 2018')
plot(s1)

# Add study 2 and perform meta-analysis
s2 <- study2way(treatments$Baruch2018.x, treatments$Baruch2018.y, 'Baruch 2018')
m <- meta2way(s1, s2)
plot(m)

henrivanwerkhoven/meta2way documentation built on May 9, 2019, 5:03 a.m.