unmark_soper {lazy.symbolic}R Documentation

Recover the Marked Special Operators

Description

Recover the Marked Special Operators

Usage

unmark_soper(exp, MARK = NULL, debug = 0)

Arguments

exp

Input expression which contains marked special operators

MARK

Alternative definition of MARKs as a string

debug

= 1 tp print intermediate result

Details

The following marking rules will be used.
MARKs="`" for %*%
MARKp="!" for %p%
MARKm="#" for %m%
MARKt="$" for %t%
MARKT="&" for %T%
MARKK="~" for %@%

MARK parameter has the following format:
MARK=' MARKp="p"; MARKm="m" '

Value

Expression with the spacial operators recovered.

Examples

exp="(A %p% B %m% C) %t% (D %T% E) %@%  F %*% G"
mark_soper( exp )
unmark_soper( exp )


[Package lazy.symbolic version 0.1.4 ]