Description Usage Arguments Details Examples
Plot a stacked bar chart indicating NAs for each variable in a dataset
1 | plot_missing(dat, subject = FALSE, width = 800, height = 500, ...)
|
dat |
data frame |
subject |
should subject-level (TRUE) or time-varying (FALSE) variables be plotted? |
width |
width of plot in pixels |
height |
height of plot in pixels |
... |
additional parameters passed to |
Subject-level variables are treated differently than time-varying variables in that they are repeated for each subject. When plotting summaries of subject-level variables, the data is first subset to one record per subject.
1 2 | plot_missing(cpp)
plot_missing(cpp, subject = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.