You are here

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

Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.

Precedence of Operators in R
NameSymbol
Parentheses()
Inverse, Transpose, Horizontal adhesion, Vertical adhesionsolve(), 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
NameSymbol
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