initialize-simulation-method: Build a minimal object for a QuantiNemo simulation

Description Usage Arguments Value Examples

Description

Build a minimal object for a QuantiNemo simulation

Usage

1
2
3
4
## S4 method for signature 'simulation'
initialize(.Object, sim.name = "my_simulation",
  parameters = list(generations = 1000, patch_capacity = 100),
  sim.dir = "./", exe.dir = "", exe.name = NULL)

Arguments

sim.name

Name of the simulation (input file and output folder)

parameters

The list of parameters that you want to pass to quantiNemo .

exe.dir

Where is the executable

exe.name

Name of the executable

sim.directory

The directory where you want to execute the simulation

Value

A simulation object ready to be run.

Examples

1
my_simulation <- new("simulation", parameters = (list(generations = 1000, patch_capacity =100)), sim.name = "my_new_sim")

frederic-michaud/RQuantiNemo documentation built on May 15, 2019, 2:51 a.m.