Function that calls the underlying quantile calculation functions
calc_quantiles_obs() and calc_quantiles_pred(). Does
input checks and the data wrangling
calc_quantiles(
pdf_u = NULL,
pdf_l = NULL,
t_vec = NULL,
dt = NULL,
rts_u = NULL,
rts_l = NULL,
one_cond,
probs = NULL,
b_coding,
skip_if_contr_low = NULL
)a data.frame with "Source", "Cond", "Prob"s, "Quant_<u_label>", "Quant_<l_label>" of type c("quantiles", "sum_dist", "stats_dm", "data.frame")
density values for the upper and lower boundary
the time space (required for the pdfs)
the step size corresponding to the time space
vectors of RTs for the upper and lower boundary
character label
numeric vector with values between 0 and 1 for the probability levels
used for accessing the upper/lower boundary labels,
determines the corresponding columns of the returned data.frame
(e.g., Quant_corr).
numeric. If the contribution of the upper
or lower PDF to the overall PDF is too low, return NAs for
this PDF (see also drift_dm_skip_if_contr_low()).
if pdf_u and pdf_l are not NULL, returns quantiles for the densities
if rts_u and rts_l are not NULL, returns quantiles for the response times
if all are not NULL, returns both.
new_stats_dm()