new_event.Rd
Generate new events to be added to existing vector of events
new_event(evt, env_ch = NULL)
Event name and event time
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.