new_event | R Documentation |
Generate new events to be added to existing vector of events
new_event(evt, env_ch = NULL)
evt |
Event name and event time |
env_ch |
Environment in which to save list (should not be defined by user) |
The functions to add/modify events/inputs use lists. Whenever several inputs/events are added or modified, it's recommended to group them within one function, as it reduces the computation cost.
So rather than use two new_event
with a list of one element, it's better to group them into a single new_event
with a list of two elements.
## Not run: new_event(list("ae"=5)) new_event(list("ae"=5,"nat.death" = 100)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.