You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having the option could be useful. For instance, when sharing models, or working with complex models with multiple stocks/substocks. If the by_stock parameter was a name_part, would the idea be to collapse the stock names? For example, if you had two stocks:
I was thinking Growth parameter K for for ling_*, but yeah. Basically the same mangling we do for the parameter name, but to something more user-understandable.
As opposed to hard-coding the help, another approach might be a g3_to_help() function, that tells you which action(s) want this parameter. You can then read the relevant documentation to find out what it means. This might be a better approach than shovelling long strings about with the parameters.
A help parameter that results in a "help" column in the parameter template, e.g:
g3_parameterized('rec.sd', by_stock = TRUE, by_step = TRUE, help="Recruitment std. deviation")
... which gets translated into ...
g3_param("rec_sd.ling.1", help="Recruitment std. deviation for Ling, step 1")
... which populates the help column.
Worth pursuing?
The text was updated successfully, but these errors were encountered: