MetaMi: Generate imputations for a single covariate

Usage Arguments

View source: R/mi.R

Usage

1
MetaMi(t, x, v, m = 5, variable = NULL, type, fixed = TRUE, to_impute = NULL)

Arguments

t

a tibble of effect sizes (one column called 't')

x

a tibble of covariates

v

a tibble of estimation variances (one column called 'v')

m

number of imputations to generate

variable

a string indicating which variable in (x) to impute} \item{type}{string indicating covariate type ('binary', 'continuous')} \item{fixed}{boolean indicates fixed/random effects model} \item{to_impute}{optional argument, list of row indices to impute} } { mids object of imputed datasets } { Generate imputations for a single covariate }


j3schaue/metami documentation built on Oct. 17, 2020, 9:16 a.m.