add_item | R Documentation |
Defining parameters that may be used in model calculations
add_item(.data = NULL, ...)
.data |
Existing data |
... |
Items to define for the simulation |
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 add_item
with a list of one element, it's better to group them into a single add_item
with a list of two elements.
A list of items
add_item(fl.idfs = 0) add_item(util_idfs = if(psa_bool){rnorm(1,0.8,0.2)} else{0.8}, util.mbc = 0.6, cost_idfs = 2500)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.