Get and set simulation globals.

Share:

Description

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

Usage

1
2
3
4
5
6
7
8
9
globals(object)

## S4 method for signature '.simList'
globals(object)

globals(object) <- value

## S4 replacement method for signature '.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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.