Modify the time of existing events
modify_event.Rd
Modify the time of existing events
Value
No return value, modifies/adds event to cur_evtlist
and integrates it with the main list for storage
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 modify_event
with a list of one element, it's better to group them into a single modify_event
with a list of two elements.
This function does not evaluate sequentially.
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.
Examples
add_reactevt(name_evt = "idfs",input = {modify_event(list("os"=5))})
#> $idfs
#> $idfs$react
#> {
#> modify_event(list(os = 5))
#> }
#>
#>