FindFactors {lazy.symbolic} | R Documentation |
Find multiplicative factors in a term
Description
Find multiplicative factors in a term
Usage
FindFactors(
expr,
ops = c("*", "/", "%*%", "%%", "%/%", "%@%", "%x%", "%.%")
)
Arguments
expr |
an expression or a string |
ops |
a string vector consisting of operator names |
Details
This function causes error when ops are given:
ERROR.*** FindFactors("a%*%b*c%x%d", ops="%x%")
Value
a data frame with factor and op columns
Examples
FindFactors("-A%*%E%*%Diag(G)")
FindFactors("a%*%b*c%x%d", ops="%*%")
[Package lazy.symbolic version 1.0.0.20250803 ]