gof_residuals_trt_boxplots.Rdgenerates boxplots for treatment group
A data frame containing C-QT analysis dataset
An nlme::lme model object from model fitting
An unquoted column name for dependent variable measurements
An unquoted column name for drug concentration measurements
An unquoted column name for nominal time since dose
An unquoted column name for treatment group"
Numeric vector of reference residual lines to add, default -2 and 2
String for legend position (top, bottom, left, right)
A named list of arguments passed to style_plot()
a ggarrange plot
data_proc <- preprocess(cqtkit_data_verapamil)
fit <- fit_prespecified_model(
data_proc,
deltaQTCF,
ID,
CONC,
deltaQTCFBL,
TRTG,
TAFD,
"REML",
TRUE
)
gof_residuals_trt_boxplots(data_proc, fit, deltaQTCF, CONC, NTLD, TRTG)