jomo2datlist: Converts a 'jomo' Data Frame in Long Format into a List of...

Description Usage Arguments Value Author(s) See Also Examples

Description

Converts a jomo data frame in long format into a list of datasets.

Usage

1
jomo2datlist(jomo.dataframe, variable = "Imputation")

Arguments

jomo.dataframe

Data frame generated in jomo package

variable

Variable name for imputation index

Value

List of multiply imputed datasets

Author(s)

Alexander Robitzsch

See Also

See the jomo package.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
#############################################################################
# EXAMPLE 1: Dataset nhanes | jomo imputation and conversion into a data list
#############################################################################

data( nhanes, package="mice")
dat <- nhanes

# impute under multivariate normal model in jomo
imp1 <- jomo::jomo1con(Y = dat , nburn=100, nbetween=10, nimp=5)
# convert into a list of datasets
datlist1 <- jomo2datlist(imp1)	


Search within the miceadds package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.