Rdocumentation
powered by
Learn R Programming
simstudy (version 0.1.1)
genObs: Create an observed data set that includes missing data
Description
Create an observed data set that includes missing data
Usage
genObs(dtName, dtMiss, idvars)
Arguments
dtName
Name of complete data set
dtMiss
Name of missing data matrix
idvars
Index variables that cannot be missing
Value
A data table that represents observed data, including missing data