aggregate_simulations: Collapse seperate simulation files into a single result
Description
This function grabs all .rds files in the working directory and aggregates them into a single
data.frame object. Weights are inferred from the last numbers before .rds, in the form
"name_of_sim_100.rds".
Usage
aggregate_simulations(files = NULL)
Arguments
files
a character vector containing the names of the simulation files. If NULL, all files
in the working directory ending in .rds will be used
Value
a data.frame with the (weighted) average of the simulation results