| scidb.expression.binary | R Documentation |
Class representing a binary operation in an expression
scidb::scidb.expression -> scidb.expression.binary
new()scidb.expression.binary$new(op, left, right)
opcompound type ("&&", "||", or "!")
leftleft predicate (for all op cases)
rightright predicate (for "&&" or "||")
type()Returns the type of the expression as a string
scidb.expression.binary$type()
"BINARY"
operation()Returns the binary operation name
scidb.expression.binary$operation()
binary op name (length-1 character)
left()scidb.expression.binary$left()
if type "&&", "||", or "!", left predicate; else NULL
right()scidb.expression.binary$right()
if type "&&" or "||", right predicate; else NULL
symbols()Returns the distinct symbols used in the expression
scidb.expression.binary$symbols()
vector of symbol names
unary()Whether or not the expression is a function of (at most) a single symbol
scidb.expression.binary$unary()
a boolean value indicating unary or non-unary
unary_composite()Whether or not the expression is unary or a boolean AND or OR of two other in-turn unary composite expressions
scidb.expression.binary$unary_composite()
a boolean value indicating unary-composite or not
substitute()Renames the symbols in the expression according to replacements in the arguments
scidb.expression.binary$substitute(...)
...optional list of string replacements for each symbol in the expression
to_r()Convert the expression to an R string, with optional symbol substitutions
scidb.expression.binary$to_r(...)
...optional list of string replacements for each symbol in the expression
evaluation of this predicate as a single R string
to_afl()Convert the expression to an AFL string, with optional symbol substitutions
scidb.expression.binary$to_afl(...)
...optional list of string replacements for each symbol in the expression
evaluation of this predicate as a single AFL string
clone()The objects of this class are cloneable with this method.
scidb.expression.binary$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.