powered by
Returns the user-defined, custom tag of a scenario, if available. Tags can be helpful to quickly distinguish scenarios of the same model type. The function supports vectorized inputs.
get_tag(x)
vector of character
character
(vector of) scenarios or parameter_set objects
parameter_set
set_tag()
# returns `fathead minnow` get_tag(minnow_it) # update or set a tag myscenario <- minnow_it %>% set_tag("My Custom Tag") # returns `My Custom Tag` get_tag(myscenario)
Run the code above in your browser using DataLab