| scidb.expression.unary | R Documentation |
Class representing a unary operation in an expression
scidb::scidb.expression -> scidb.expression.unary
new()scidb.expression.unary$new(op, input)
opoperation string
inputinput scidb.epxression object
type()Returns the type of the expression as a string
scidb.expression.unary$type()
"UNARY"
operation()Returns the unary operation name
scidb.expression.unary$operation()
unary op name (length-1 character)
symbols()Returns the distinct symbols used in the expression
scidb.expression.unary$symbols()
vector of symbol names
unary()Whether or not the expression is a function of (at most) a single symbol
scidb.expression.unary$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$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.unary$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.unary$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.unary$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.unary$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.