globals, and the alias G, accesses or sets the "globals"
in the simList. This currently is not an explicit slot in the simList,
but it is a .globals element in the params slot of the simList.
globals(sim)
# S4 method for class 'simList'
globals(sim)
globals(sim) <- value
# S4 method for class 'simList'
globals(sim) <- value
G(sim)
# S4 method for class 'simList'
G(sim)
G(sim) <- value
# S4 method for class 'simList'
G(sim) <- valueFor globals() and G(), a named list of the global parameters, i.e., the
.globals element of the params slot. For the replacement methods
globals<- and G<-, the updated simList, with any module parameters that
take their value from a global re-synchronised.
SpaDES.core-package, specifically the section 1.2.1 on Simulation Parameters.
Other functions to access elements of a 'simList' object:
.addDepends(),
checkpointFile(),
envir(),
events(),
inputs(),
modules(),
objs(),
packages(),
params(),
paths(),
progressInterval(),
times()