prep_data.Rd
Prep Data for Metafor
prep_data( data, n, type = c("average", "weighted", "simple"), missing = "remove", variable_names = NULL, ID = NULL )
data | Raw data input |
---|---|
n | Sample size |
type | type of adjustment (olkin siotani) |
missing | What to do with missing data |
variable_names | An optional character vector specifying variable names
of original data. This is mostly used to pass to |
ID | A variable name, as a character string, to use as names for the list elements. |