Description Usage Arguments Details Value
Conc time plots with stratification
1 | gg_conc_time(df, y = DV, x = TAFD, color = ID, occ = NULL, blq = NULL)
|
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 |
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.
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.