Prerequisites - The Software Environment

To run all the code snippets provided in this section you should have installed a recent version of R (>3.3.1) on your computer. Further, you need to install the following additional R packages to rerun the R code snippets on your machine:

R-packages
  • caTools

  • DescTools

  • ggplot2

  • latex2exp

  • lattice

  • leaflet

  • psych

  • RColorBrewer

  • readxl


Run the following code snippet to install the packages from CRAN servers and load them into you workspace :

list.of.packages <- c("scatterplot3d", "latex2exp", "knitr", "RColorBrewer","pander", "caTools","readxl", "ggplot2", "dplyr", "lattice", "GGally", "corrplot", "raster", "sp", "mapview", "glmnet", "ggfortify", "caret" , "lme4", "psych", "compositions", "ggtern", "gtools", "rdwd", "maps", "mapproj", "ggmap", "KernSmooth", "xts", "zoo", "gridExtra", "lubridate", "forecast", "sf", "tseries"')
new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])]
if(length(new.packages)) install.packages(new.packages)
lapply(list.of.packages, library, character.only = TRUE)


Creative Commons License
You may use this project freely under the Creative Commons Attribution-ShareAlike 4.0 International License. Please cite as follow: Hartmann, K., Krois, J., Waske, B. (2018): E-Learning Project SOGA: Statistics and Geospatial Data Analysis. Department of Earth Sciences, Freie Universitaet Berlin.