scidb.expression | R Documentation |
Class representing a N-ary predicate, bound with an ordered vector of names for the N (possibly non-distinct) variables
type()
Returns the type of the expression as a string
scidb.expression$type()
type: "SYMBOL", "VALUE", "UNARY", "BINARY", or "TERNARY" (unimplemented)
symbols()
Returns the distinct symbols used in the expression
scidb.expression$symbols()
vector of symbol names
unary()
Whether or not the expression is a function of (at most) a single symbol
scidb.expression$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$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$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$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$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$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.