The mathematical operators (+, -, *, /) work just like they do in
R thanks to a little magic with Rcpp sugar. Here are some simple
examples of their usage:
The above examples are rather simple, but it’s also possible to
combine operators into more complex expressions. For example: