tabulate_exposure_predictions.RdTablulates exposure predictions at therapeutic and supratherapuetic Cmax.
tabulate_exposure_predictions(
data,
fit,
conc_col,
treatment_predictors,
control_predictors = NULL,
doses,
cmaxes,
qtc_label = "QTc (ms)",
conc_units = "ng/mL",
conf_int = 0.9,
decimals = 2,
scientific = TRUE,
title = NULL,
...
)A data frame containing C-QT analysis dataset
An nlme::lme model object from model fitting
An unquoted column name for concentration measurements used to fit the model
A list of a values for contrast. conc will update
A list of b values for contrast
A vector of doses to show prediction at
A vector of Cmax for each dose
A label for QTc column name, default QTc (ms)
Units for concentration default ng/mL
Numeric confidence interval level (default: 0.9)
Number of decimals to format numbers to. default is 2
Boolean for converting to scientific notation
Optional string for table title. Wrapped in gt::md()
Optional additional args to gt::tab_options
a gt table of predicted dQTc/ddQTc values and their CI at tpx and or stpx dose/Cmax
data_proc <- preprocess(cqtkit_data_verapamil)
fit <- fit_prespecified_model(
data_proc,
deltaQTCF,
ID,
CONC,
deltaQTCFBL,
TRTG,
TAFD,
"REML",
TRUE
)
pk_df <- compute_pk_parameters(
data_proc %>% dplyr::filter(DOSE != 0),
ID,
DOSEF,
CONC,
NTLD
)
tabulate_exposure_predictions(
data_proc,
fit,
CONC,
list(
CONC = 10,
deltaQTCFBL = 0,
TRTG = "Verapamil HCL",
TAFD = "2 HR"),
list(
CONC = 0,
deltaQTCFBL = 0,
TRTG = "Placebo",
TAFD = "2 HR"),
doses <- c(120),
cmaxes <- c(pk_df[[1, "Cmax_gm"]])
)
Dose
Cmax (ng/mL)
Δ Δ QTc (ms)
[90% CI]