Introduction

Materials from class on Monday, August 8, 2022

Contents

Session Outcomes

By the end of this homework session you should:

  • Be familiar with RStudio, R Markdown and R Projects.
  • Know how to install and enable R packages and query package documentation.
  • Understand the purpose R Markdown files and their anatomy.
  • Know how to create R Projects and understand their benefits

Introduction

For most sessions I will post some additional exercises that relate to the practical learning you will be doing in-class. You will be populating R Markdown files as you complete the exercises. The exercises will vary in detail and challenge but you should try your best effort to complete them.

There has been a lot to take in this session. There are no formal exercises to complete as part of this session’s homework. Instead we want you to really try to solidify your understanding of the core technology for the module.

Task 1: Read and complete BasicBasics

R-Ladies is an excellent initiative and the R-Ladies Sydney BasicBasics pages are really great for introducing the R and RStudio ecosystem, and a little of the tidyverse.

Read and work your way through:

This repeats some of the work that you have done in class this session. If you’re entirely new to R programming, this repetition is probably useful (and necessary) at this stage.

Task 2: Watch Thomas Mock’s Introduction to Tidy Statistics

Thomas Mock’s Gentle Introduction to Tidy Statistics is pitched those coming to R after previously working with point-and-click interfaces (SPSS, STATA, ArcGIS). I strongly recommend that you watch this now as you start to embark on the “pain” of doing data analysis programmatically.