View source: R/simmer-methods.R
| add_global | 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.