cond.parse: Parse conditions

View source: R/helperFunctions.R

cond.parseR Documentation

Parse conditions

Description

Parse the condition string so that it can be evaluated by the cond.* functions. Intended for internal use only.

Usage

cond.parse(names_attTbl, cond)

Arguments

names_attTbl

character vector, the column (i.e. variable) names of the attribute table returned by the function attTbl.

cond

character string, the condition string used by the cond.* functions to classify raster cells (see conditions).

Value

The function returns a two-element list. The first element contains the parsed conditions to be evaluated by the cond.* functions. The second element defines the condition type each variable refers to.

See Also

cond.4.all(), cond.4.nofn(), anchor.seed(), cond.reclass(), conditions()


scapesClassification documentation built on March 18, 2022, 6:32 p.m.