plot_pred {ggmice} | R Documentation |
Plot the predictor matrix of an imputation model
Description
Plot the predictor matrix of an imputation model
Usage
plot_pred(
data,
vrb = "all",
method = NULL,
label = TRUE,
square = TRUE,
rotate = FALSE
)
Arguments
data |
A predictor matrix for |
vrb |
String, vector, or unquoted expression with variable name(s), default is "all". |
method |
Character string or vector with imputation methods. |
label |
Logical indicating whether predictor matrix values should be displayed. |
square |
Logical indicating whether the plot tiles should be squares. |
rotate |
Logical indicating whether the variable name labels should be rotated 90 degrees. |
Value
An object of class ggplot2::ggplot
.
Examples
pred <- mice::quickpred(mice::nhanes)
plot_pred(pred)
[Package ggmice version 0.1.0 Index]