gg_conc_time: Concentration vs time plot

Description Usage Arguments Details Value

View source: R/gg_conc_time.R

Description

Conc time plots with stratification

Usage

1
gg_conc_time(df, y = DV, x = TAFD, color = ID, occ = NULL, blq = NULL)

Arguments

df

data frame

y

y variable, Default: DV

x

x variable, Default: TAFD

color

grouping variable passed to aes (=color), Default: ID

occ

name of occasion column. If not NULL used as grouping variable (see details), Default: NULL

blq

name of blq flag column, Default: NULL

Details

If occ is provided, color and occ are combined using paste to create a new grouping variable for each occasion. Lines only connect data from each unique color+occ group. Useful for time after dose graphics.

Value

ggplot object


AstraZeneca/pmxplore documentation built on May 28, 2019, 11:04 a.m.