SpaDES (version 1.3.1)

globals: Get and set simulation globals.

Description

globals accesses or sets the "globals" slot in the simList.

Usage

globals(object)

# S4 method for .simList globals(object)

globals(object) <- value

# S4 method for .simList globals(object) <- value

Arguments

object

A simList simulation object.

value

The object to be stored at the slot.

See Also

SpaDES, specifically the section 1.2.1 on Simulation Parameters.

Other functions to access elements of a simList object: .addDepends, doEvent.checkpoint, envir, events, inputs, ls.simList, ls.str.simList, modules, objs, packages, params, paths, progressInterval, times