| calc_quantiles | R Documentation |
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
)
pdf_u, pdf_l |
density values for the upper and lower boundary |
t_vec |
the time space (required for the pdfs) |
dt |
the step size corresponding to the time space |
rts_u, rts_l |
vectors of RTs for the upper and lower boundary |
one_cond |
character label |
probs |
numeric vector with values between 0 and 1 for the probability levels |
b_coding |
used for accessing the upper/lower boundary labels,
determines the corresponding columns of the returned data.frame
(e.g., Quant_ |
skip_if_contr_low |
numeric. If the contribution of the upper
or lower PDF to the overall PDF is too low, return NAs for
this PDF (see also |
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.
a data.frame with "Source", "Cond", "Prob"s, "Quant_<u_label>", "Quant_<l_label>" of type c("quantiles", "sum_dist", "stats_dm", "data.frame")
new_stats_dm()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.