parseMix: Parse a mixed edit

Description Usage Arguments Value

View source: R/parseMix.R

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

1
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 (codenums) and a negated version of this expression (codenegNums)


editrules documentation built on July 2, 2018, 1 a.m.