nFactors {lazy.symbolic} | R Documentation |
Calculate the Number of Factors in a Term
Description
Calculate the Number of Factors in a Term
Usage
nFactors(expr)
Arguments
expr |
an expression or string |
Value
# of terms
Examples
nFactors("-A%*%E%*%Diag(G)+A%*%E%*%H-A%*%E")
[Package lazy.symbolic version 1.0.0.20250803 ]