new_event {WARDEN} | R Documentation |
Generate new events to be added to existing vector of events
Description
Generate new events to be added to existing vector of events
Usage
new_event(evt)
Arguments
evt |
Event name and event time |
Details
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.
This function is intended to be used only within the add_reactevt
function in its input
parameter and should not be run elsewhere or it will return an error.
Value
No return value, adds event to cur_evtlist
and integrates it with the main list for storage
Examples
add_reactevt(name_evt = "idfs",input = {new_event(list("ae"=5))})
[Package WARDEN version 1.2.5 Index]