plot_complete_pairs: Plot a heat map of frequency of "complete" (both non-NA)...

Description Usage Arguments Details Examples

View source: R/plot_summary.R

Description

Plot a heat map of frequency of "complete" (both non-NA) pairs of variables

Usage

1
2
plot_complete_pairs(dat, subject = FALSE, width = 700, height = 700,
  thresh = 0.95, ...)

Arguments

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 figure

Details

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.

Examples

1
2

hafen/hbgd documentation built on March 1, 2020, 5:31 p.m.