powered by
Sets the user-defined, custom tag of a scenario. Tags can be helpful to quickly distinguish scenarios of the same model type.
set_tag(x, tag)
(vector of) modified EffectScenario objects
EffectScenario
(vector of) EffectScenario objects
vector of character
character
get_tag()
# 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
Run the code above in your browser using DataLab