modify_item | R Documentation |
Modify the value of existing items
modify_item(list_item, env_ch = NULL)
list_item |
A list of items and their values or expressions |
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 modify_item
with a list of one element, it's better to group them into a single modify_item
with a list of two elements.
## Not run: modify_item(list(cost.idfs = 500, cost.tx = cost.tx + 4000)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.