M & W 14:30 – 15.50, Kroon G01, Lecture and lab
F 10:00 – 13:00, Kroon 319, R Bootcamp (~office hours)
Credits: 3
Lecturer: Simon Queenborough
This course provides an overview and introduction to the statistical software R for the analysis and graphical presentation of natural and social science data.
R is a free open-source software environment for statistical computing and graphics. It is widely used by statisticians, biologists, economists, social scientists, . . .
The course will provide the practical skills in R to analyse data and produce publication quality-figures and tables. Some details are specific to R. However, the principles of programming, writing code, command line interface, and collection, storage, analysis and display of data are all transferable skills that will be useful in any software.
The course assumes no prior knowledge of R, programming, or the command line interface. However, this course does not teach statistics: Understanding of basic statistics and common statistical tests and analyses is assumed.
You will need a laptop computer
Class time will primarily be used for working through examples and problems as a class or individually. The best way to improve in R is to use it frequently and regularly. Advanced topics will be selected later in the course.
The course will be assessed via completion of lessons (25%), completion and assessment of labs (25%), weekly best-practice assignments (25%), and a final data project (25%). Projects will analyze your own (or other available) data.
Our goal is for students to learn and understand R. There are no final examinations and all assessed work may be submitted multiple times for feedback.
Previous students generally liked the course.
I didn’t hate this course nearly as much as I expected to
We are iterating towards perfection.
All of the course material will be available here.
Announcements and grades will be posted to Canvas.
This New York Times article describes the background to R, .
It is helpful for us as instructors and you as students to all be working in the same environment.
RStudio is a nice, easy, clean program that sits on top of R and works on all operating systems. It is also free.
To install R:
Now that R is installed, you need to download and install RStudio.
To install RStudio:
To install R:
Now that R is installed, you need to download and install RStudio.
To install RStudio:
The lessons we will use are available online and you need to download them to your laptop.
> install.packages("swirl")
> library(swirl)
> install_course_github("saq", "fes720_Basic")
This will download the most up-to-date lessons, ready for class next week.
You will learn what these commands do later in the course.
What is a pirate’s favourite language?
R!
Credit: wiredforlego, CC BY-NC 2.0
Updated: 2017-08-28