expand {caracas} | R Documentation |
Expand expression
Description
Expand expression
Usage
expand(x, ...)
Arguments
x |
A |
... |
Pass on to SymPy's expand, e.g. |
Examples
if (has_sympy()) {
def_sym(x)
y <- log(exp(x))
simplify(y)
expand(simplify(y))
expand(simplify(y), force = TRUE)
expand_log(simplify(y))
}
[Package caracas version 2.1.1 Index]