get_tag: Get scenario tag

get_tagR Documentation

Get scenario tag

Description

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.

Usage

get_tag(x)

Arguments

x

(vector of) scenarios or parameter_set objects

Value

vector of character

See Also

set_tag()

Examples

# 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)

cvasi documentation built on Sept. 23, 2024, 9:08 a.m.