run_sims_on_grid: run a simulation on a parameter grid and summarize it

Description Usage Arguments Details

Description

run a simulation on a parameter grid and summarize it

Usage

1
run_sims_on_grid(summary_function, d, Tlim, ...)

Arguments

summary_function

a function that returns a data frame based on simulation output

d

a data.frame that defines the grid of parameters to run the simulation on

Tlim

the length of time to run

...

should include params for simulate_timeseries

Details

d - data frame with columns of rho, delta, omegaz, alpha, Vb value a data.frame with possibly many reps per parameter or some summary statistic. actual value depends on return value of summary_function. built-in summary functions include the identity (no summary) 'summary_id'


ashander/phenoecosim documentation built on May 10, 2019, 1:52 p.m.