Description Usage Arguments Value
View source: R/combine_datasets.R
This function extracts data from different input paths and combine them. It is a wrapper around extract_from_simulations
.
1 | combine_datasets(inpaths, vars, params, merge_factor, merge_levels)
|
inpaths |
Where the simulation outputs are to be found. Need several of them, of course. |
vars |
What variables through time to extract from simulation output data files? |
params |
What parameter values to record for each simulation? |
merge_factor |
The name of the column to add to the master data frame; the factor that differs between the different datasets that are combined. |
merge_levels |
The levels of that factor. Should be of the same length as |
A data frame with individual simulationa in rows, and in columns the variables of interest at each time point, as well as the values of the selected parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.