scidb.predicate | R Documentation |
Class representing an expression with a free symbol, similar in intent to an anonymous function
new()
Create a predicate from a free variable placeholder name and expression
scidb.predicate$new(variable, expression)
variable
free variable symbol
expression
expression as a function of the free variable
resymbol()
Rename the free symbol in the internal expression
scidb.predicate$resymbol(new_variable)
new_variable
new string to represent unbound variable
evaluate()
Evaluate predicate with symbol substituted for the free variable, returning a scidb.expression
scidb.predicate$evaluate(symbol)
symbol
symbol name to take place of free variable
clone()
The objects of this class are cloneable with this method.
scidb.predicate$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.