parmice: Parallel Multivariate Imputation by Chained (PMICE)

Description Usage Arguments Value See Also Examples

Description

Invokes mice function in parallel using a specified number of cores.

Usage

1
2
3
4
5
6
7
8
parmice(data, ncores = parallel::detectCores() - 1, m = 5,
  method = vector("character", length = ncol(data)), predictorMatrix = (1 -
  diag(1, ncol(data))), visitSequence = (1:ncol(data))[apply(is.na(data), 2,
  any)], form = vector("character", length = ncol(data)),
  post = vector("character", length = ncol(data)), defaultMethod = c("pmm",
  "logreg", "polyreg", "polr"), maxit = 5, diagnostics = TRUE,
  printFlag = TRUE, seed = NA, imputationMethod = NULL,
  defaultImputationMethod = NULL, data.init = NULL, ...)

Arguments

ncores

Number of cores to be used.

Value

List of imputed datasets.

See Also

mice

Examples

1
2
imp <-parmice(nhanes, ncores = 4)
plot(imp)

pdrhlik/parmice documentation built on May 24, 2019, 11:45 p.m.