merge_netsim_scenarios: Create a Single Sim File per Scenarios Using the Files From...

View source: R/netsim_scenarios.R

merge_netsim_scenariosR Documentation

Create a Single Sim File per Scenarios Using the Files From netsim_scenarios

Description

Create a Single Sim File per Scenarios Using the Files From netsim_scenarios

Usage

merge_netsim_scenarios(
  sim_dir,
  output_dir,
  keep.transmat = TRUE,
  keep.network = TRUE,
  keep.nwstats = TRUE,
  keep.other = TRUE,
  param.error = FALSE,
  keep.diss.stats = TRUE,
  truncate.at = NULL
)

Arguments

sim_dir

The folder where the simulation files are to be stored.

output_dir

The folder where the merged files will be stored.

keep.transmat

If TRUE, keep the transmission matrices from the original x and y elements. Note: transmission matrices only saved when (save.transmat == TRUE).

keep.network

If TRUE, keep the networkDynamic objects from the original x and y elements. Note: network only saved when (tergmLite == FALSE).

keep.nwstats

If TRUE, keep the network statistics (as set by the nwstats.formula parameter in control.netsim) from the original x and y elements.

keep.other

If TRUE, keep the other simulation elements (as set by the save.other parameter in control.netsim) from the original x and y elements.

param.error

If TRUE, if x and y have different params (in param.net) or controls (passed in control.net) an error will prevent the merge. Use FALSE to override that check.

keep.diss.stats

If TRUE, keep diss.stats from the original x and y objects.

truncate.at

Time step at which to left-truncate the time series.


statnet/EpiModelHPC documentation built on Nov. 13, 2023, 11:38 a.m.