-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathplot_pred.Rd
More file actions
41 lines (35 loc) · 1.16 KB
/
plot_pred.Rd
File metadata and controls
41 lines (35 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/plot_pred.R
\name{plot_pred}
\alias{plot_pred}
\title{Plot the predictor matrix of an imputation model}
\usage{
plot_pred(
data,
vrb = "all",
method = NULL,
label = TRUE,
square = TRUE,
rotate = FALSE,
grid = TRUE
)
}
\arguments{
\item{data}{A predictor matrix for \code{mice}, typically generated with \link[mice:make.predictorMatrix]{mice::make.predictorMatrix} or \link[mice:quickpred]{mice::quickpred}.}
\item{vrb}{String, vector, or unquoted expression with variable name(s), default is "all".}
\item{method}{Character string or vector with imputation methods.}
\item{label}{Logical indicating whether predictor matrix values should be displayed.}
\item{square}{Logical indicating whether the plot tiles should be squares.}
\item{rotate}{Logical indicating whether the variable name labels should be rotated 90 degrees.}
\item{grid}{Logical indicating whether borders should be present between tiles.}
}
\value{
An object of class \code{ggplot2::ggplot}.
}
\description{
Plot the predictor matrix of an imputation model
}
\examples{
pred <- mice::quickpred(mice::nhanes)
plot_pred(pred)
}