01.04.2020: We are planning an electronic seminar due to the COVID-19 situation. The R tutorials will be video-recorded and made available for download. As soon as further information is available, we will announce it here.
To give you one more week to work on your projects, we have decided to move the registration deadline to 03.04. Please make sure to apply if you have not already. We will notify you on 05.04. on course admission. Stay safe!
Rand RStudio installed on it
The course is limited to max. 30 students. Please apply for DataSciR as follows:
You will be notified on 05.
12.04.2020 on course admission.
After admission, please complete this registration form from the examination office and hand it to Uli until 20.05.2020.
Ten years ago, who would have thought, that
R, the self-proclaimed “environment for statistical computing and graphics”, would become one of the most popular programming languages for data scientists?
The impressive growth of
R is not a coincidence. As free & open-source alternative to expensive & proprietary software like SPSS, Matlab and Excel,
R’s strengths have alway been its capabilities for statistical data analysis as well as its functionalities to create powerful, aesthetically appealing graphics and charts.
R attracted a rather exclusively academic audience in the 90’s & 00’s, the
R community since has grown not only by sheer number but also in diversity, as people from different industries and backgrounds discover
R’ usefulness for a wide range of applications. As of February 2020, more than 15,000 (!) packages have been published to CRAN, ca. half of them since 2015.
Especially in the last decade, the functionality and versatility of
R has gained momentum. The team around Hadley Wickham from RStudio, the public benefit coorporation behind the eponymous IDE specifically made for
R, has dedicated to developing
R packages with a focus on increasing productivity and reproducibility of the workflows of data scientists, including the highly popular
tidyverse” packages like
tidyrfor data manipulation,
ggplot2for data visualization,
knitrfor reproducible & automated reporting,
shinyfor interactive web applications, and
tidymodelsfor inferential and predictive modeling.
In Data Science with R (DataSciR), you will learn fundamentals of
R and how to use the above mentioned packages.
Further, you will work on a semester-long graded data science project using
There are no mandatory prerequisites for DataSciR. However, you are expected to have a profound knowledge of fundamental data mining techniques, such as classification, regression and clustering. Hence, it is recommended that you have heard at least one of the following lectures (or comparable):
Also, you should have a basic programing and statistics knowledge. For example, you will learn the most important vector types and classes in
R, but you will not learn what a vector or a class is in general. Accordingly, you should know what the terms mean, standard deviation, probability, hypothesis test, p-value, etc. mean.
It is recommended to bring your laptop to each course meeting. Class meetings are a mix of lecture and short coding exercises. You will get the most out of the meetings if you have a laptop and can work on these exercises. Hence, you should set-up your laptop until the end of the first week as described in the Software section.
Data Mining / Statistical Analysis:
caretpackage. Online documentation.
By the end of the first week, you should have installed the following software on your own laptop:
Also, please check whether you can successfully install packages. To do so, click on the Packages tab in the bottom-right pane in RStudio. Then, click on the Install button and specify an arbitrary package, e.g.
dplyr. Finally, click on Install. Alternatively, you can install a package from the console with
install.packages("dplyr"). If everything is set up correctly, no error messages should be displayed when you load the installed package with
We will use the following packages. Install them in one go using the console in RStudio with:
# Install packages from CRAN cran_pkgs <- c("remotes", "tidyverse", "tidymodels", "gapminder", "patchwork", "showtext", "ggthemes", "ggrepel", "socviz", "ggiraph", "ggforce", "janitor", "rpart", "rpart.plot", "kknn", "rmarkdown", "knitr", "rticles", "xaringan", "Hmisc", "kableExtra", "maps", "mapproj", "concaveman", "AmesHousing") install.packages(cran_pkgs) # Install development packages from GitHub github_pcks <- c("rstudio/gt", "gadenbuie/countdown") remotes::install_github(github_pcks) # To generate PDF output from R Markdown documents, you need to install LaTeX. # If you have not installed LaTeX before, consider to install the lightweight # LaTeX distribution [tinytex](https://yihui.name/tinytex/) which automatically # installs missing LaTeX packages when rendering R Markdown documents. install.packages(tinytex) tinytex::install_tinytex()