Tells if one or more variable names are valid STICS output variables.
is_stics_var(var, stics_version = "latest")
A vector of variable names
Name of the STICS version. Optional, can be used
to search parameters information relative to a specific STICS version.
By default the latest version returned by get_stics_versions_compat()
is used.
A boolean vector: TRUE
if the variable exist, FALSE
otherwise
get_var_info()
for interactive use.
is_stics_var(c("lai(n)", "masec(n)", "unknown"))
#> ! Variable `unknown` not found. Try `get_var_info()`.
#> [1] TRUE TRUE FALSE