Week 36.1 — More R practice
Tuesday 1 September, 12:30–16:00
In the this class, we will continue to learn the R language and explore at the different types of data and R objects we will encounter using R.
Before class, prepare by completing these tasks
- Read the Introduction chapter in the r4ds (R for Data Science) book
What you’ll be doing
You will continue to learn the R language and practice entering commands in the R console and write scripts
You will finish working through the activity from the previous class that challenges you to use R to solve a number of questions.
You will work on an exercise to randomly allocate white and brown rabbits to one of two different feeds as part of a fictitious experiment.
Slides
Activities
To recap topics we’ve covered so far, read Chapter 2 of r4ds!
Watch this video for a recap to the R language. This is a longer video but you don’t need to watch it all in one go. I have added Chapters with timestamps in the description which you can use to jump to the main topics covered in the video. The chapters are also indicated on the progress bar if you hover over the video with your pointer.
read Chapter 12 of r4ds on Logical vectors, and
read Chapter 13 of r4ds on Numbers.