
Compute PK Parameters
compute_pk_parameters.RdGenerates PK parameters Cmax and Tmax for exposure predictions.
Arguments
- data
A data frame containing C-QT analysis dataset
- id_col
An unquoted column name for subject ID
- dose_col
An unquoted column name for dose measurements
- conc_col
An unquoted column name for drug concentration measurements
- ntime_col
An unquoted column name for nominal times
- group_col
An unquoted column name for additional grouping variable
Value
A tibble with PK summary statistics by group: N, Tmax (median/min/max), and Cmax (geometric mean, CV%, median/min/max)
Examples
compute_pk_parameters(
preprocess(cqtkit_data_verapamil) %>% dplyr::filter(DOSE != 0),
ID,
DOSE,
CONC,
NTLD)
#> # A tibble: 1 × 10
#> group N Tmax_median Tmax_max Tmax_min Cmax_gm Cmax_cv Cmax_median Cmax_max
#> <dbl> <int> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
#> 1 120 21 1 2 0.5 114. 57.0 102 368
#> # ℹ 1 more variable: Cmax_min <dbl>