prep_for_r

In case you are taking one of my courses where I make use of the statistical software R, and you have no prior experience with R, it would be useful to familiarize yourself with R a bit ahead of time (of course, this doesn't apply to the Introduction to R Course, since the point of this course is to teach R in the first place). A place to start would be the manuals that come with R:

https://cran.r-project.org/manuals.html

In particular, you could start with reading *An Introduction to R*. Some find this document easy to go through, others may find it less accessible. In my opinion, it might not be the best place to start, because it covers some technical topics that are not so relevant for new users. So instead, or in addition, you could take a look at the contributed documentation that is available for R:

https://cran.r-project.org/other-docs.html

I cannot say anything about these documents in particular, but I am sure that some of them are of high quality. Note that the contributed documentation page is no longer updated, so it misses more recent resources. I've heard good things about these:

There has also been an explosion of books on R in recent years, many of which are specifically geared towards those who want to learn using R in general:

https://www.r-project.org/doc/bib/R-books.html

And that list is far from complete. Just search for R books on Amazon (or some other bookseller of your choice) and you are going to be inundated with options and choices. Again, I'll refrain from providing any personal recommendations, as I have only read a few of those books myself.

Also, you don't need to be an R expert to follow the courses that I teach. I explain all of the R commands that we need to use for the analyses and do my best to arrange things so that the actual use of R is as minimal as possible (e.g., unless it would be instructional, I do things like data preprocessing ahead of time). But again, it certainly helps if you have seen some R syntax before and understand the basic principles of how R works (dealing with unfamiliar software plus the actual contents is simply more challenging than just dealing with the actual contents).

If you are starting to work with R for the first time, it may also be useful to also install an integrated development environment (IDE) for R. What this usually does is provide you with a nice code editor (with features such as syntax highlighting, brace matching, and code completion), shortcuts for code execution, project management features, and an organized workspace that can make the use of R more user-friendly. A popular choice these days is RStudio, which is available for Windows, MacOS, and Linux.

Finally, for the ESM Data Analysis Course, you do not have to use R in the first place. As explained here, I use R in the lectures and for illustrating the analyses, but I also make scripts/datasets available for Stata and SPSS (in case you are more familiar with one of those packages). However, since I do use R myself in the lectures, it may in fact be easier to follow the course if you also stick to R and therefore do not have to switch back and forth between different software packages (the way results are presented differs slightly between different software). But this also depends a bit on how comfortable you are with adapting to a new statistical software package.

Also, sooner or later, everybody should switch to R anyway (or at least, be familiar with it), so you might as well get started now. Oh, and I also teach an entire Introduction to R Course, so if you really want to be thorough with your preparations, you could consider taking this course first.

prep_for_r.txt ยท Last modified: 2019/03/19 09:39 by Wolfgang Viechtbauer

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International