is_stics_var: Search if a STICS variable exist

View source: R/all_out_var.R

is_stics_varR Documentation

Search if a STICS variable exist

Description

Tells if one or more variable names are valid STICS output variables.

Usage

is_stics_var(var, stics_version = "latest")

Arguments

var

A vector of variable names

stics_version

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.

Value

A boolean vector: TRUE if the variable exist, FALSE otherwise

See Also

get_var_info() for interactive use.

Examples

is_stics_var(c("lai(n)", "masec(n)", "unknown"))


SticsRFiles documentation built on Sept. 12, 2024, 7:41 a.m.