eda_qt_rr_plot.RdPlot QT against RR
A data frame containing C-QT analysis dataset
An unquoted column name for RR measurements
An unquoted column name for QT measurements
An unquoted column name for subject ID
An unquoted column name for treatment group
Numeric confidence interval level (default: 0.9)
Lm or lme, which model to fit for showing on plot
A bool for showing regression slope on plot.
Method for nlme::lme fitting (ML or REML)
A boolean for removing IIV on RR slope
A named list of arguments passed to style_plot()
a plot of the input QT against RR
data_proc <- preprocess(cqtkit_data_verapamil)
eda_qt_rr_plot(data_proc, RR, QT, ID, model_type = "lme")
#> variance-covariance issues detected, try running again with method = 'REML'
#> If issues persist, try removing IIV.
#> Error in intervals.lme(fit, conf_int): cannot get confidence intervals on var-cov components: Non-positive definite approximate variance-covariance
#> Consider 'which = "fixed"'