Learn R Programming

editrules (version 2.7.2)

parseMix: Parse a mixed edit

Description

parseMix replaces all numerical edits with a generated dummy boolean variable and returns the resulting categorical edit plus the list of found of numerical edits. These expressions should be handled further by parseCat and parseNum.

Usage

parseMix(e, editname = "", numid = 0, negate = TRUE)

Arguments

e
expression to be parsed
numid
starting number for dummy name generation

Value

  • list with categorical expression (cat), which is normalized, a numerical expression (code{nums}) and a negated version of this expression (code{negNums})