Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/cor_mi_marginplot.R
Computes correlations between all variables taking all observations without missing values on both variables. Then plots MI Marginplots of all highly correlated variables.
1 | cor_mi_marginplot(input, cor = 0.5, obs = 0.5)
|
input |
MI object produced by mi, mice or Amelia. |
cor |
MI Marginplots between two variables are drawn only if their correlation is higher than the absolute value of this parameter. |
obs |
MI Marginplots between two variables are drawn only if the rate of observed values is higher than this parameter. |
This plot is inspired by the marginplot
function in R package
VIM.
For details see marginplot
there.
Returns a correlation matrix, all correlations lower than abs(cor) are NA.
Paul Brix
R package "VIM: Visualization and Imputation of Missing Values" by Matthias Templ, Andreas Alfons, Alexander Kowarik. cran.r-project.org/package=VIM
mi_marginplot
and marginplot
from VIM.
1 2 3 4 | data(FLAS)
require("mice")
FLASmi <- mice(FLAS)
cor_mi_marginplot(FLASmi)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.