add_global {simmer} | R Documentation |
Attach a global variable to the simulation.
add_global(.env, key, value)
.env |
the simulation environment. |
key |
the attribute name. |
value |
the value to set, either a numeric or a |
Returns the simulation environment.
Convenience functions: schedule
.