gg_conc_time_ind: Individual concentration time plot

Description Usage Arguments Details

View source: R/gg_conc_time_ind.R

Description

Function requires model predictions. For plots without predictions use gg_conc_time() and add facets

Usage

1
2
gg_conc_time_ind(df, obs = DV, pred = PRED, ipred = IPRED, x = TAPD,
  id = ID, occ = NULL, facet_rows = 3, facet_scales = "free", ...)

Arguments

df

dataframe

obs

observed data column, Default: DV

pred

population predictions, Default: PRED

ipred

individual predictions, Default: IPRED

x

x variable, Default: TAPD

id

id variable, Default: ID

occ

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

facet_rows

rows used in facet_wrap, Default: 3

facet_scales

scales used facet_wrap, Default: "free"

Details

If occ is provided, id 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. Population predictions: dashed lines and triangles, Individal predictions: lines and crosses, Observed data: open circles.


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