bmem.mi.boot: Bootstrap for multiple imputation

View source: R/bmem.R

bmem.mi.bootR Documentation

Bootstrap for multiple imputation

Description

Bootstrap for multiple imputation

Usage

bmem.mi.boot(x, ram, v, m = 10, boot = 1000, parallel=FALSE, ncore=1, ...)

Arguments

x

A data set

ram

RAM path for the mediaiton model

v

Indices of variables used in the mediation model. If omitted, all variables are used.

m

Number of imputations

boot

Number of bootstraps. Default is 1000.

parallel

Whether to use parallel method to calculate.

ncore

Numbers of core for parallel method.

...

Other options for sem function can be used.


johnnyzhz/bmem documentation built on Dec. 30, 2022, 8:41 p.m.