2 Installing diagnoser
The library diagnoser currently is only installable via GitHub and is contingent on R versions at or above 3.4.2. To install the package, first install devtools so that you may make use of the function install_github, referencing diagnoser by the package creator’s username (“robertschnitman”) followed by “/diagnoser” as shown in the code below:
## Ensure that you are running R 3.4.2 or higher.
## Package Dependencies:
# lazyeval (>= 0.2.1)
# Package Imports:
# ggplot2 (>= 2.2.1),
# gridExtra (>= 2.3),
# scales (>= 0.5.0),
# car (>= 2.1)
# Install library necessary for installing diagnoser.
install.packages("devtools")
# Install diagnoser via devtools.
devtools::install_github("robertschnitman/diagnoser")The following sections will assume that you have loaded this library, so please load it so that the codes in the mentioned sections will be executable for you.