The main content of this repository is the set of RMarkdown documents found in
content/RMarkdown. You can download and run these yourself in RStudio, making
changes and extensions as you wish, and create pdf/Word documents from them, if
you wish.
If you'd just like the pdfs rendered from these RMarkdown documents, they are:
- Simple statistical models/tests
- Reading, summarizing, visualizing data
- Introduction to visualization
- Introduction to data wrangling with dplyr
- Linear models
- Generalized linear models
- Multilevel models
The required software for these workshops are all free and open source and will run identically on Windows, Mac OS X, and Linux platforms.
There are four main pieces of software to install:
- R: An environment for statistical computing.
- Rstudio: An integrated development environment for using R.
- tidyverse: A bundle of R packages to use R the modern way.
- Miscellaneous R packages: Other vital, or just handy, R packages.
Go to the R website and follow the links for downloading. On Windows, this should lead you to
Downloading this and following the usual Windows installation process, you'll then have a full working version of R.
On Macs, the installation procedure is essentially identical. The latest Mac installer should be available at
Download this and follow the usual Mac installation process to get a full working version of R for Macs.
Using Rstudio is not strictly necessary. You can do all you need to do with R without using Rstudio. However, many people have found that using R is more convenient and pleasant when working through Rstudio. To install it, go to the Rstudio website, specifically to
which will list all the available installers. Note that you just want the Rstudio desktop program. The Rstudio server is something else (basically it is for providing remote access to Rstudio hosted on Linux servers).
Again, you'll just follow the usual installation process for Windows or Macs to install Rstudio using these installers.
The so-called tidyverse is a collection of interrelated R packages that implement essentially a new standard library for R. In other words, the tidyverse gives us a bundle tools for doing commonplace data manipulation and visualization and programming. It represents the modern way to use R, and in my opinion, it's the best way to use R. All the tidyverse packages can be installed by typing the following command in R:
install.packages("tidyverse")
The main packages that are contained within the tidyverse bundle are listed here.
There are a bunch of other R packages that we either will, or just may, use. Here are there installation commands:
install.packages("rmarkdown")
install.packages("knitr")
install.packages("lme4")
install.packages("pscl")
install.packages("psych")
install.packages("MASS")
install.packages("car")
install.packages("nnet")