R as Calculator

Konstantinos I. Bougioukas · 2026

R is a powerful tool for statistical computing and data analysis, but can also serve as a basic calculator. In this chapter, we explore various arithmetic operations, simple comparisons with numbers, and the use of scientific notation (i.e., e notation in R) for very small or large numbers. We also discuss how special values such as `NA`, `NaN`, and `Inf` behave in calculations.

Read the paper · More papers on PaperTik