extract_from_simulations: Extract data from simulations

Description Usage Arguments Value

View source: R/extract_from_simulations.R

Description

This function loops through the simulation output folders and reads in the information from the variables and parameter values of interest. It writes all this into a large data frame that can then be saved as CSV. Much lighter to analyze than going through all simulations folders every time.

Usage

1
extract_from_simulations(inpath, vars, params)

Arguments

inpath

Where the simulation outputs are to be found.

vars

What variables through time to extract from simulation output data files?

params

What parameter values to record for each simulation?

Value

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.


rscherrer/epianalysis documentation built on May 26, 2019, 2:32 p.m.