1 + 2
## [1] 3
3 * 5
## [1] 15
4 / 7
## [1] 0.5714286
5 %% 3
## [1] 2
5 %/% 3
## [1] 1
5 ^ 3
## [1] 125
ceiling(3.1415)
## [1] 4
tan(3.1415)
## [1] -9.265359e-05
min(3, 4, 5)
## [1] 3
1 + 2 * 3
## [1] 7
(1 + 2) * 3
## [1] 9
5 +
3
## [1] 8
5
## [1] 5
+ 3
## [1] 3
Copyright © 2017 Kirill Müller. Licensed under CC BY-NC 4.0.