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,
rts_u = NULL,
rts_l = NULL,
one_cond,
probs = NULL,
b_coding
)
pdf_u , pdf_l |
either NULL or density vectors |
t_vec |
the time space (required for the pdfs) |
rts_u , rts_l |
either NULL or RT vectors |
one_cond |
character label |
probs |
numeric vector with values between 0 and 1 for the probability
levels. Default is |
b_coding |
used for accessing the upper/lower boundary labels,
determines the corresponding columns of the returned data.frame
(e.g., Quant_ |
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.