Wolfgang Viechtbauer

Marginally significant (p = .07)

User Tools

Site Tools


course_oor

This is an old revision of the document!


Open Online Introduction to R Course

General Information

Course Dates 9-10 March, 2020
Course Times 9:30 - 17:00 CET (UTC/GMT+1)
Course Location online / live stream
Registration not necessary
Course Fee none (this course is free!)

Course Description

R is a programming language and software environment for carrying out computations, manipulating and analyzing data, and creating various types of plots and graphics (see the R project website at https://www.r-project.org/ for more info). R has become the 'lingua franca of statistics' and the software of choice for analyzing data in various disciplines. However, for many researchers, getting up and running with R remains a hurdle due to the command-driven nature of the software. The purpose of this course is to lay the necessary foundation for becoming a proficient R user.

In this course, we will cover:

  • a bit of history and the development of R
  • how to use and interact with R
  • basic data structures
  • data import and export
  • data inspection and manipulation
  • methods for graphing data
  • t-tests and analysis of (co)variance
  • linear regression
  • categorical data analysis and logistic regression
  • add-on packages (how to find, install, and work with them)
  • how/where to obtain help when you get stuck
  • basic programming structures (e.g., loops, if-else statements)
  • how R 'works' (functions, classes, methods, oh my!)
  • writing documents with Rmarkdown
  • and depending on time and interest various miscellaneous topics:
    • psychometrics (reliability and factor analysis)
    • merging datasets
    • working with 'long format' datasets
    • string manipulation
    • multilevel / mixed-effects models
    • survival analysis and Cox models
    • non-parametric methods

Note: When discussing statistical methods/models, emphasis will be on the general syntax as used in R and less on the statistical details of the various procedures (i.e., this is not a 'stats' course, it is a 'how to do stats with R' course). Hence, some familiarity with basic statistical concepts and methods is helpful when following the course.

The course is aimed at researchers, (Master and PhD level) students, data analysts/scientist, and essentially anybody interested in learning how to work with R.

Course Format

The course will be taught online as a live stream via the live streaming platform Twitch. Once the stream goes live (around 9:00 on each course day), simply go to https://www.twitch.tv/wviechtb to start watching.

For the most part, the format of the course will be quite simple: I will provide you with R code that we will then go through step-by-step. Along the way, I'll explain how things work and answer questions as necessary. The code will be posted below and at: https://github.com/wviechtb/course_oor/tree/master/code.

How to Prepare for the Course

You will need a computer with the current version of R installed. You can download R from the Comprehensive R Archive Network (CRAN) at https://cran.r-project.org/. Follow the appropriate "Download R" link depending on your operating system (OS) and follow the instructions for downloading and installing R. If you already have R installed, please check that it is the current (or a relatively current) version. If not, please update.

Although not strictly necessary, it will be useful to also install an integrated development environment (IDE) for R. A popular choice these days is RStudio. So, unless you already have a different setup, download the appropriate installer of RStudio for your OS from https://rstudio.com/products/rstudio/download/#download and install in the usual manner.

You do not need to have a Twitch account to watch the stream, but if you would like to post comments or questions via the chat (see below), then you do need to be signed in. To create a Twitch account, go to https://www.twitch.tv/, click on "Sign Up", and follow the instructions. Make sure you also verify your email as part of the registration procedure.

You might also want to think a bit ahead of time how you will arrange your desktop while following the course. You will want to have both your browser (for following the live stream) and R/RStudio open at the same time and ideally put them side-by-side (otherwise, you will have to switch back and forth between these windows, which will quickly become rather tedious). So, unless you have a rather large monitor, two computers/monitors (i.e., one for the stream, one for R/RStudio) would be ideal.

Just as an idea, you could also consider following the course together with other people as a group and set up a computer/projector to show the stream (everybody should still have their own computer/laptop to follow along).

Chat (Purpose and Rules)

Usually, I teach courses 'in person' and there are various benefits from being in the same room as the course participants. For one thing, if I see a lot of confused faces, it tells me to slow down or reexplain things. The chat will have to replace this form of communication. If something is unclear, just let me know via the chat.

If possible, I will also be happy to answer 'but how do I do this or that?' type questions (assuming they relate to what is being covered in the course at that moment). However, if there are too many questions of this type at the same time, the chat will become unusable, so please consider carefully whether it is appropriate to ask such questions at particular moments.

Note that there is a slight delay when live streaming (somewhere around 10 seconds), so keep that in mind when asking questions. This can also make 'back-and-forth' questioning difficult (e.g., if I have to ask for some clarification about your question).

Any type of harassment or hateful conduct, inappropriate commenting, or disruptive behavior will not be tolerated and will lead to temporary chat timeouts or to being banned from the chat permanently.

Other Things / Notes / FAQs

While I have a lot of experience teaching courses 'in person', this will be the first time I am teaching a course in this format. Please be gentle if things don't go entirely smoothly the first time around.

In the 'in person' courses that I teach, I often end up troubleshooting some general computer problems for one or multiple course participants. I will not be able to do this in this course. I also will not be able to provide statistical support or answer questions you have about your own data analysis needs.

I reserve the option to end the course at any point (e.g., due to low attendance, technical problems). Also, depending on how things go (e.g., if there are technical problems, lots of questions), I might not be able to cover all topics planned.

I understand that the course will primarily target those in timezones with small deviations from UTC/GMT (i.e., Europe and Africa). If the course is well received, I will consider repeating the course and then starting it in the afternoon (my local time), so that people from North/South America can more easily attend.

R Code

to be posted later …

Datasets

to be posted later …

course_oor.1580838557.txt.gz · Last modified: 2020/02/04 17:49 by 127.0.0.1