Skip to content

gof_residuals_trt_boxplots

Description

generates boxplots for treatment group

Usage

gof_residuals_trt_boxplots(
data,
fit,
dv_col,
conc_col,
ntime_col,
trt_col = NULL,
title = "",
xlabel = NULL
)

Arguments

NameDescription
dataA dataframe of QTc dataset
fita deltaQTCF model fit
dv_colan unquoted column name of deltaQTC/Dependent variable measurements
conc_colan unquoted column name of concentration measurements
ntime_colan unquoted column name of nominal times
trt_colan unquoted column name of treatment group, default NULL
titlea string of title of plot
xlabela string for the x-axis label of the plots

Returns

a ggarrange plot

Examples

data <- preprocess(data)
fit <- fit_prespecified_model(
data,
deltaQTCF,
ID,
CONC,
deltaQTCFBL,
TRTG,
TAFD,
"REML",
TRUE
)
gof_residuals_trt_boxplots(data, fit, deltaQTCF, CONC, NTLD, TRTG)