Use basic operators

R is not only good for analysing and visualizing data, but also for solving maths problems or comparing data with each other. Plus you can use it just like a pocket calculator.

  • Use R as a pocket calculator
  • Use arithmetic operators on vectors
  • Use relational operators on vectors
  • Use logical operators on vectors
___ + ___
___ - ___
___ / ___
___ * ___
___ ^ ___

___ == ___
___ != ___
___ < ___
___ > ___
___ <= ___
___ >= ___

___ & ___
___ | ___

___ %in% ___
View Interactive Version
Use basic operators