Revision of Operator Precedence from Thu, 10/01/2009 - 21:46

The revisions let you track differences between multiple versions of a post.

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