expand_log {caracas} | R Documentation |
Expand a logarithmic expression
Description
Note that force
as described at
https://docs.sympy.org/latest/tutorial/simplification.html#expand-log is used
meaning that some assumptions are taken.
Usage
expand_log(x)
Arguments
x |
A |
Examples
if (has_sympy()) {
x <- symbol('x')
y <- symbol('y')
z <- log(x*y)
z
expand_log(z)
}
[Package caracas version 2.1.1 Index]