Learn R Programming

editrules (version 2.9.5)

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)

Value

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

Arguments

e

expression to be parsed

numid

starting number for dummy name generation