Skip to contents

A tile grid of subject counts by baseline and endpoint reference-range category, faceted by treatment. It uses the same pairing as tbl_shift().

Usage

fig_shift(df, ctx = fig_ctx(), base_size = NULL, config = NULL)

Arguments

df

Analysis data (BDS).

ctx

A fig_ctx() list.

base_size

Font size; NULL uses the configuration.

config

A tlf_config(); NULL resolves through tlf_get_config().

Value

A ggplot.

Examples

p <- fig_shift(ex_adlb[ex_adlb$PARAMCD == "ALT", ])
class(p)
#> [1] "ggplot2::ggplot" "ggplot"          "ggplot2::gg"     "S7_object"      
#> [5] "gg"