Description Usage Arguments Details Examples
Plot a heat map of frequency of "complete" (both non-NA) pairs of variables
1 2 | plot_complete_pairs(dat, subject = FALSE, width = 700, height = 700,
thresh = 0.95, ...)
|
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 |
thresh |
percentage NA threshold above which variables will be ignored (to help deal with cases involving many variables) |
... |
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_complete_pairs(cpp)
plot_complete_pairs(cpp, subject = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.