Loading Packages

At various points throughout the analysis, we will be using to a set a third-party packages. So let's begin by loading those packages. The RevoScaleR package is pre-installed with Microsoft R Server (MRS), since it cannot be downloaded from CRAN, but all the other packages shown below are third-party packages that can be downloaded and installed from CRAN using the install.packages command.

Additionally, we override some default options to make it easier to display data or results.

options(max.print = 1000, scipen = 999, width = 100)
rxOptions(reportProgress = 1) # reduces the amount of output RevoScaleR produces
options(dplyr.print_max = 200)
options(dplyr.width = Inf) # shows all columns of a tbl_df object
library(rgeos) # spatial package
library(sp) # spatial package
library(maptools) # spatial package
library(gridExtra) # for putting plots side by side
library(ggrepel) # avoid text overlap in plots
library(seriation) # package for reordering a distance matrix

results matching ""

    No results matching ""