drift_dm objectInternal function that creates or updates the aggregated statistics
(stats_agg and stats_agg_info) in a drift_dm object, depending
on the specified cost function. For maximum likelihood estimation
("neg_log_like"), aggregated statistics are removed, because the raw
RTs are used directly.
update_stats_agg(
drift_dm_obj,
which_cost_function,
probs = NULL,
n_bins = NULL
)the input drift_dm_obj, with its stats_agg and
stats_agg_info entries updated or removed, depending on the cost
function and availability of observed data
a drift_dm object.
a character string, indicating which cost function
is used. Must be one of drift_dm_cost_functions().
optional numeric vector of probabilities for quantile
calculation. If NULL, defaults are taken from
drift_dm_default_probs().
an optional integer, giving the number of bins for the CAFs.
If NULL, defaults are taken from drift_dm_default_n_bins().
obs_data(), cost_function(),
drift_dm()