plot_missing: Plot a stacked bar chart indicating NAs for each variable in...

Description Usage Arguments Details Examples

View source: R/plot_summary.R

Description

Plot a stacked bar chart indicating NAs for each variable in a dataset

Usage

1
plot_missing(dat, subject = FALSE, width = 800, height = 500, ...)

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

...

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.