-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Statistical Application Development with R and Python

The CRAN repository hosts 10,969 packages as of July 2, 2017. The packages are written and maintained by statisticians, engineers, biologists, and others. The reasons are varied and the resourcefulness is very rich and it reduces the need of writing exhaustive and new functions and programs from scratch. These additional packages can be obtained from https://cran.r-project.org/web/packages/. The user can click on https://cran.rproject.org/web/packages/available_packages_by_date.html, which will direct you to a new web package. Let us illustrate the installation of an R package named gdata
:
gdata
package. There are multiple ways of completing this task:gdata
label leads to the web page: https://cran.r-project.org/web/packages/gdata/index.html.This information is provided in Reverse dependencies, Reverse depends, Reverse imports, and Reverse suggests.
gdata
package:install.packages("gdata”)
.dependencies=TRUE
, which will then download and install all the other required packages.gdata
package is as follows:gdata
web page, click on the following link: gdata_2.18.0.zip.C:\Users\author\Downloads
directory.gdata_2.18.0
file and R will do the required remaining part of installing the package.The one drawback of doing this process manually is that if there are dependencies, the user needs to ensure that all such packages have been installed before embarking on this second task of installing the R packages. However, despite this problem, it is quite useful to know this technique, as we may not be connected to the internet all the time, and we can install the packages when it is convenient.
This book uses lot of datasets from the web, statistical text books, and so on. The file format of the datasets have been varied and thus to help the reader, we have put all the datasets used in the book in an R package, RSADBE
, which is the abbreviation of this book’s title. This package will be available from the CRAN website as well as this book’s web page. Thus, whenever you are asked to run data(xyz)
, the dataset xyz
will be available either in the RSADBE
package or datasets
package of R.
The book also uses many of the packages available on CRAN. The following table gives the list of packages and the reader is advised to ensure that these packages are installed before you begin reading the chapter. That is, the reader needs to ensure that, as an example, install.packages(c("qcc”,”ggplot2”))
is run in the R session before proceeding with Chapter 3, Data Visualization.
Chapter number |
Packages required |
---|---|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
Change the font size
Change margin width
Change background colour