read.mitml | R Documentation |
mitml
objects from fileThis function loads mitml
class objects from R binary formats (similar to ?load
), usually produced by write.mitml
.
read.mitml(filename)
filename |
Name of the file to read, to be specified with file extension (e.g., |
An object of class mitml
.
Simon Grund
panImpute
, jomoImpute
, write.mitml
## Not run:
data(studentratings)
fml <- ReadDis + SES ~ ReadAchiev + (1|ID)
imp <- panImpute(studentratings, formula = fml, n.burn = 1000, n.iter = 100, m = 5)
# write 'mitml' object
write.mitml(imp, filename = "imputation.R")
# read previously saved 'mitml' object
old.imp <- read.mitml("imputation.R")
class(old.imp)
old.imp
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.