Precedence of Operators in R
Name | Symbol |
---|---|
Parentheses | () |
Inverse, Transpose, Horizontal adhesion, Vertical adhesion | solve(), t(), cbind(), rbind() |
Element Powering | ^ |
Unary plus, minus | +,- |
Matrix multiply, Kronecker product, Quadratic product | %*%, %x%, %&% |
Dot product, Element divide | *, / |
Binary plus, minus | +, - |
Source: R language definition
Precedence of Operators in Mx 1.0
Name | Symbol |
---|---|
Parentheses | () |
Inverse, Transpose, Unary minus | ~, ', - |
Element Powering | ^ |
Multiplication, Dot product, Kronecker product, Quadratic product, Element division | *, ., @, &, % |
Addition, Subtraction | +, - |
Horizontal adhesion | | |
Vertical adhesion | _ |
Source: Mx manual