MIaggregate | R Documentation |
Aggregates results after mutiple imputation.
MIaggregate(dat, col_names = c("sero_event", "pyears"))
dat |
List of results. |
col_names |
Names used to collect columns into a data.frame. |
data.frame
Args <- setArgs(nSim=2, mcores=1)
rtdat <- getRTData(dat=getHIV())
mdat <- MIdata(rtdat, Args)
mdat <- mitools::imputationList(mdat)
inc <- with(mdat, fun=AggByYear)
MIaggregate(inc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.