Why learn R?
There are numerous reasons why R is a powerful statistical package worth learning.R is open-source and runs on any operating system, it has a huge supporting community (youtube tutorials, discussions boards, free ebooks), it's compatible with other programming languages, you can … Continue reading In our seminar, we learn a statistical programming language in order to answer simple but intriguing questions. The software is supposed to be a useful tool to conduct our analysis and convey our results to fellow students, other researchers and the general public.
Download R and RStudio
- R https://cran.r-project.org/bin/windows/base/
- RStudio https://rstudio.com/products/rstudio/download/
Here I give you an introduction to R and RStudio. I do not explain how to download and install the software. If you have never or rarely used R or any other statistical package, this intro should help you to get a quick start. The video covers:
- How RStudio panels looks like.
- Basic components of the R script.
- The command line.
- Install and load additional packages.
- How to load data (e.g. the SOEP practice data).
- Explore tabular/panel/missing data.
- Base R operations (select, inspect, summarize, manipulate and plot data).
If you have R experience, just skim the R script.
You can open the SOEP_Practice_1.txt and probably view it in your browser without any additional text editor. You may download and save it as SOEP_Practice_1.R such that it is recognized by RStudio.
|R is open-source and runs on any operating system, it has a huge supporting community (youtube tutorials, discussions boards, free ebooks), it's compatible with other programming languages, you can create markdown reports as well as Shiny apps and dashboards, it's widely used in academia and buisness/consulting.