bcgVaccineData: Example: Setting up the BCG-data set

Description Usage Arguments Details Value Examples

View source: R/example-bcg.R

Description

Exemplary data set of 14 clinical trials evaluating BCG vaccine efficacy.

Usage

1
  bcgVaccineData(sgnf = 0.05)

Arguments

sgnf

significance level of the confidence intervals for the relative risks.

Details

Reads in the BCG vaccine efficacy data from the metafor package and adds some statistics to the data such as the log-relative risk, study size, measurements of balance, confidence intervals of the responses, and the like.

Value

Returns a data set of 13 clinical trials which evaluated the efficacy of the BCG vaccine. The data set is an exact copy of the data set found in the dat.bcg data frame provided by the metafor package.

Examples

1

Example output

                     reference  x   size      balance     logrisk        sdiv
1  Frimodt-Moller et al., 1973 13  10877 -0.067941528 -0.21754732 0.051210172
2             TPT Madras, 1980 13 176782  0.000000000  0.01195233 0.003961579
3        Comstock et al., 1974 18  77972  0.298773919 -0.33935883 0.012412214
4      Vandiviere et al., 1973 19   3174  0.603654694 -1.62089822 0.223017248
5       Coetzee & Berjak, 1968 27  14776  0.015024364 -0.46941765 0.056434210
6     Comstock & Webster, 1969 33   4839  0.032444720  0.44591340 0.532505845
7        Comstock et al., 1976 33  34767 -0.027065896 -0.01731395 0.071404660
8       Rosenthal et al., 1960 42    451  0.024390244 -1.34807315 0.415367965
9       Rosenthal et al., 1961 42   3381  0.015084295 -1.37134480 0.073024794
10               Aronson, 1948 44    262 -0.061068702 -0.88931133 0.325584765
11       Stein & Aronson, 1953 44   2992  0.030080214 -0.78611559 0.006905618
12     Hart & Sutherland, 1977 52  26465  0.027621387 -1.44155119 0.020010032
13      Ferguson & Simes, 1949 55    609  0.004926108 -1.58538866 0.194581121
       rlower       rupper allocation
1  -0.6610806  0.225985955  alternate
2  -0.1114099  0.135314580     random
3  -0.5577186 -0.120999013 systematic
4  -2.5464854 -0.695311073     random
5  -0.9350245 -0.003810845     random
6  -0.9843311  1.876157882 systematic
7  -0.5410487  0.506420775 systematic
8  -2.6112513 -0.084895040     random
9  -1.9009878 -0.841701775 systematic
10 -2.0076675  0.229044811     random
11 -0.9489887 -0.623242479  alternate
12 -1.7188015 -1.164300918     random
13 -2.4499552 -0.720822081     random

metagen documentation built on May 29, 2017, 7:13 p.m.