View source: R/core_estimate.R
| set_agg_data | R Documentation |
Helper function that aggregates a data set across all participants
and attaches the resulting group-level summary statistics to a
drift_dm_obj. This is required when the user wants to fit aggregated data
(e.g., via the RMSE cost function).
set_agg_data(drift_dm_obj, obs_data_ids, ...)
drift_dm_obj |
a model object (of class |
obs_data_ids |
a data.frame containing individual-level observations.
Must include an |
... |
optional arguments (currently supported are |
This function is intended for internal use and is called by
estimate_dm() when aggregated model fitting is requested.
The updated drift_dm_obj with aggregated stats_agg and
obs_data set to NULL.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.