plot_univar: Make a grid of univariate summary plots

Description Usage Arguments Details Examples

View source: R/plot_summary.R

Description

Make a grid of univariate summary plots

Usage

1
plot_univar(dat, subject = FALSE, ncol = 3, width = 300, height = 300)

Arguments

dat

data frame

subject

should subject-level (TRUE) or time-varying (FALSE) variables be plotted?

ncol

number of columns in the grid

width

width of each plot in pixels

height

height of each plot in pixels

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.