fit_qtc_linear_model.RdFits QT(c) data to linear mixed effects model with fixed effects of intercept and RR slope, with random effects on intercept and slope.
fit_qtc_linear_model(
data,
qt_col,
rr_col,
id_col,
method = "REML",
remove_rr_iiv = FALSE
)nlme::lme model
bl <- compute_qtcb_qtcf(cqtkit_data_bl_verapamil, qtbl_col = NULL, rrbl_col = NULL)
qt_mod <- fit_qtc_linear_model(bl, QT, RR, ID)
#> variance-covariance issues detected, try running again with method = 'REML'
#> If issues persist, try removing IIV.
qtcb_mod <- fit_qtc_linear_model(bl, QTCB, RR, ID)
#> variance-covariance issues detected, try running again with method = 'REML'
#> If issues persist, try removing IIV.
qtcf_mod <- fit_qtc_linear_model(bl, QTCF, RR, ID)
#> variance-covariance issues detected, try running again with method = 'REML'
#> If issues persist, try removing IIV.