View source: R/tampv2datalist.R
| tampv2datalist | R Documentation |
Converts a tam.pv object and a matrix of covariates
into a list of multiply imputed datasets. This list can be conveniently
analyzed by R packages such as semTools, Zelig, mice
or BIFIEsurvey.
tampv2datalist(tam.pv.object, pvnames=NULL, Y=NULL, Y.pid="pid",
as_mids=FALSE, stringsAsFactors=FALSE)
tam.pv.object |
Generated |
pvnames |
Variable names of generated plausible values |
Y |
Matrix with covariates |
Y.pid |
Person identifier in |
as_mids |
Logical indicating whether the datalist
should be converted into an object of class |
stringsAsFactors |
Logical indicating whether strings in the data frame should be converted into factors |
List of multiply imputed datasets or an mids object
For examples see tam.pv.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.