compute_exposure_predictions.RdPredicts dQTC over range of concentration values with contrast. To help keep the predictions quick, the concentration values to predict at are done at on order of magnitude of concentration values, if max(conc) = 7340, then by = 100
compute_exposure_predictions(
data,
fit,
conc_col,
treatment_predictors,
control_predictors = NULL,
cmaxes = NULL,
conf_int = 0.9
)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
List of a values for contrast. conc will update
List of b values for contrast
Vector of Cmax for each dose
Numeric confidence interval level (default: 0.9)
A data frame that contains median concentration, lower and upper bounds CI.
data_proc <- preprocess(cqtkit_data_verapamil)
fit <- nlme::lme(
fixed = deltaQTCF ~ 1 + CONC,
random = ~ 1 | ID,
method = "REML",
data = data_proc
)
compute_exposure_predictions(
data_proc,
fit,
CONC,
list(CONC = 10)
)
#> Error in eval(Call$data, env): object 'data_proc' not found