
GOF Concordance Plots
gof_concordance_plots.RdConcordance plots between population and individual predictions.
Arguments
- data
A data frame containing C-QT analysis dataset
- fit
An nlme::lme model object from model fitting
- dv_col
An unquoted column name for dependent variable measurements
- conc_col
An unquoted column name for drug concentration measurements
- ntime_col
An unquoted column name for nominal time since dose
- trt_col
An unquoted column name for treatment group"
- dv_label
A string of dv label (default: bquote(Delta ~ 'QTc (ms)'))
- legend_location
String for legend position (top, bottom, left, right)
- style
A named list of arguments passed to style_plot()
Value
A 2-panel plot comparing population (PRED) and individual (IPRED) predictions vs observed values
Examples
data_proc <- preprocess(cqtkit_data_verapamil)
fit <- fit_prespecified_model(
data_proc,
deltaQTCF,
ID,
CONC,
deltaQTCFBL,
TRTG,
TAFD,
"REML",
TRUE
)
gof_concordance_plots(data_proc, fit, deltaQTCF, CONC, NTLD, TRTG, legend_location = "top")