Learn R Programming

MoLE (version 1.0.0)

MULTIRUN: Run several lineages

Description

Run several lineages with same settings for comparison of results.

Usage

MULTIRUN(nHours = 48, nLineages = 3, name = "lineage", 
  nAgents = 2, nSaves = 4, close = TRUE, ...)

Arguments

nHours

Length of individual simulations

nLineages

Number of lineages to be simulated

name

Name of experiment

nAgents

Number of agents to start with

nSaves

Number of (intermediate) copies that should be made for interim inspection. Copies are overwritten by new versions.

close

Should R close automatically once simulation is finished?

Specification of world settings (if non-default)

Value

Rdata file in /data folder in working directory

Examples

Run this code
# NOT RUN {
getwd()
FOUND()
# }
# NOT RUN {
MULTIRUN(nHours=.00001, name='test', nLineages=2, close=FALSE)
# }

Run the code above in your browser using DataLab