View source: R/core_cost_functions.R
| stats_from_pdfs_agg_info | R Documentation |
Internal helper to compute predicted summary statistics from condition-wise
PDFs, following the condition order. Calculates summary
statistics according to the information in stats_agg_info. Currently
supports either quantiles or conditional accuracy functions (CAFs).
stats_from_pdfs_agg_info(pdfs, t_vec, dt, stats_agg_info = NULL, what)
pdfs |
named list of PDFs per condition, each containing elements
|
t_vec |
numeric time vector. |
dt |
numeric time step. |
stats_agg_info |
list with information needed to compute summaries (e.g., quantile probabilities or CAF bin counts; optional). |
what |
character, one of |
A list of numeric vectors, one per condition, containing the
predicted quantiles or CAFs. In case of failure, NA_real_ values are
returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.