parseMix: Parse a mixed edit

View source: R/parseMix.R

parseMixR Documentation

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 (nums) and a negated version of this expression (negNums)


editrules documentation built on June 22, 2024, 12:21 p.m.