ffm_valid_param: Checks that a parameter label is valid.

View source: R/params_functions.R

ffm_valid_paramR Documentation

Checks that a parameter label is valid.

Description

A parameter label is valid if it is present in the ParamInfo table. The comparison ignores case and white-space. If a non-NULL value is supplied for section the check is restricted to parameter labels in that section (site, stratum or species).

Usage

ffm_valid_param(label, section = NULL, single)

Arguments

label

The parameter label.

section

If not NULL, one of site, stratum or species.

single

If TRUE (default) require that label only matches a single parameter; if FALSE allow multiple matches.

Value

TRUE is the label is valid.


pzylstra/frame_r documentation built on Nov. 12, 2023, 1:55 a.m.