mark_soper {lazy.symbolic}R Documentation

Mark Special Operator by Single Alpha

Description

Mark Special Operator by Single Alpha

Usage

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

Arguments

exp

Input expression which contains 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 marked.

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.3 Index]