Usage
covariance_commonControl(aDataFrame, control_ID, X_t, SD_t, N_t, X_c, SD_c, N_c,
metric = "RR")
Arguments
aDataFrame
A data frame containing columns with all study parameters
used to estimate effect sizes (e.g., means, SD, N's for treatment and
control groups). Must also contain a column that codes which effect sizes
share a common control. See example below.
control_ID
Label of the column that codes groups of effect sizes that
share the mean, SD, and N of a control group.
X_t
Column label for the means of (t)reatment group used to estimate the
effect size.
SD_t
Column label for the standard deviations (SD) of the treatment
group used to estimate the effect size.
N_t
Column label for the sample size (N) of the treatment group
used to estimate the effect size.
X_c
Column label for the means of (c)ontrol group used to estimate the
effect size.
SD_c
Column label for the standard deviations (SD) of the control
group used to estimate the effect size.
N_c
Column label for the sample size (N) of the control group
used to estimate the effect size.
metric
Option to designate which effect size metric for which the
common control VCV matrix is to be estimated. Default is "RR" for log
response ratio.