set_tag {cvasi} | R Documentation |
Set a tag
Description
Sets the user-defined, custom tag of a scenario. Tags can be helpful to quickly distinguish scenarios of the same model type.
Usage
set_tag(x, tag)
Arguments
x |
(vector of) |
tag |
vector of |
Value
(vector of) modified EffectScenario
objects
See Also
Examples
# set a custom tag
myscenario <- GUTS_RED_SD() %>% set_tag("My Custom Tag")
# returns `My Custom Tag`
get_tag(myscenario)
# the tag also appears in the scenario overview
myscenario
[Package cvasi version 1.1.3 Index]