Arguments
cases
The variable (or vector) reporting the number of cases, regardless of the type of study.
n
The variable(or vector) reporting the number of the size (for each exposure) of the study for case-control and cumulative
incidence data, the Person-Times (for each exposure) for incidence rate data.
logrr
The variable (or vector) reporting the log relative risks for each exposure
v
The variable (or vector) reporting the variance of published log relative risks. If not already in the dataset, it needs to be calculated by the user.
study
the variable (or vector) or value reporting the type of study. The values for the variable must be "cc
", "ir
", "ci
" for
case-control, incidence-rate and cumulative-incidence data respectively.
id
an optional variable (or vector) reporting the id of the studies.
data
an optional dataframe containing the variables needed to approximate the covariance matrix.