View source: R/plot_mice_distrib.R
plot_mice_distrib | R Documentation |
mice
modelChooses the type of plot based on method
used for each variable.
plot_mice_distrib(mids, vars)
mids |
mids result of call to |
vars |
Character vector of names of variables to plot. |
boys2 <- cbind(boys, dummy = c(NA, NA, NA, rbinom(nrow(boys) - 3, 1, .5)))
mice <- mice(boys2, method = c("pmm", "pmm", "pmm", "pmm", "pmm", "pmm", "polr", "pmm", "pmm", "logreg"))
plot_mice_distrib(mice, c("hgt", "dummy", "phb"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.