expand | R Documentation |
Expand expression
expand(x, ...)
x |
A |
... |
Pass on to SymPy's expand, e.g. |
if (has_sympy()) {
def_sym(x)
y <- log(exp(x))
simplify(y)
expand(simplify(y))
expand(simplify(y), force = TRUE)
expand_log(simplify(y))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.