R is the world's most popular programming language for data analysis and statistical modeling. The Book of R provides an …