Description Usage Arguments Value Author(s) References See Also Examples
This function is internal function to update the mi.info
object.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## S3 method for class 'mi.info'
update(object, target, list, ...)
mi.info.update.type(object, list)
mi.info.update.level(object, list)
mi.info.update.include(object, list)
mi.info.update.is.ID(object, list)
mi.info.update.collinear(object, list)
mi.info.update.imp.order(object, list)
mi.info.update.determ.pred(object, list)
mi.info.update.params(object, list)
mi.info.update.imp.formula(object, list)
mi.info.update.other(object, list)
|
object |
|
target |
which part of |
list |
list that has same length as the number of variables in the mi.info object. Element which are left NULL will not be updated . |
... |
currently no function. |
info |
updated |
Masanao Yajima yajima@stat.columbia.edu, Yu-Sung Su suyusung@tsinghua.edu.cn, M.Grazia Pittau grazia@stat.columbia.edu, Andrew Gelman gelman@stat.columbia.edu
Yu-Sung Su, Andrew Gelman, Jennifer Hill, Masanao Yajima. (2011). “Multiple Imputation with Diagnostics (mi) in R: Opening Windows into the Black Box”. Journal of Statistical Software 45(2).
Andrew Gelman and Jennifer Hill. (2007). Data Analysis Using Regression and Multilevel/Hierarchical Models. Cambridge University Press.
1 2 3 4 5 6 7 8 | data(CHAIN)
CHAIN.info <- mi.info(CHAIN)
# You can update the mi.info object in the below two ways
CHAIN.info <- update(CHAIN.info, "type",
list(age.W1="continuous", b05.W1="unordered-categorical"))
CHAIN.info <- mi.info.update.type(CHAIN.info,
list(age.W1="continuous", b05.W1="unordered-categorical"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.