One of the components which can be added to a simulation set-up. Aggregating the data is a simulation component which can be used to aggregate the population or sample. The aggregation will simply be done after the sampling, if you haven't specified any sampling component, the population is aggregated (makes sense if you draw samples directly from the model).
function which controls the aggregation process. At the moment only
Potentially you can define an
aggFun yourself. Take care that it only has one argument, named
dat, and returns the aggregated data as
1 2 3 4 5 6 7 8