All exercises are done using the basic R functions. (R Core Team (2015))
Exercise 1
## [1] 18
## [1] -12
## [1] 45
## [1] 14348907
## [1] 3375
Exercise 3
## [1] 0.05445545 0.15346535 0.36633663 0.10643564 0.31930693
REFERENCES
R Core Team. 2015. “R: A Language and Environment for Statistical Computing.” Journal Article. http://www.R-project.org.