simulateSimario: Perform a simulation of X runs using parallel computing.

View source: R/Simenv.r

simulateSimarioR Documentation

Perform a simulation of X runs using parallel computing.

Description

NB: if it exists, uses propensities in global environment when doing adjustments for year 1

Usage

simulateSimario(Simenv, total_runs = 1, simulateFun, parallel = TRUE)

Arguments

Simenv

Simenv receiving object

total_runs

total number of runs to simulate

simulateFun

a function contains a set of actual simulation to be performed

parallel

logical, which allows the user to decide on using parallel computing

Value

Simenv object with simulated results


kcha193/simarioV2 documentation built on April 8, 2024, 4:51 p.m.