eda_quantiles_plot.Rdplots the observed decile-decile scatter plot of x-data vs y-data with linear regression.
eda_quantiles_plot(
data,
xdata_col,
ydata_col,
trt_col = NULL,
conf_int = 0.9,
error_bars = "CI",
style = list()
)A data frame containing C-QT analysis dataset
An unquoted column name for x data
An unquoted column name for y data
An unquoted column name for treatment column to stratify the data by
Numeric confidence interval level (default: 0.9)
A string for setting which errorbars are shown, CI, SE, SD
A named list of arguments passed to style_plot()
a plot
data_proc <- preprocess(cqtkit_data_verapamil)
eda_quantiles_plot(
data_proc,
RR,
QTCF,
trt_col = TRTG,
style = set_style(
legend = "Treatment Group",
ylims = c(300, 500),
xlabel = "RR (ms)",
ylabel = "QTcF (ms)",
legend.position = "top"
)
)