Chapter 2 R Tutorial
This week we will be doing a hands-on R tutorial. This should be useful whether you are new to R or if you have a large amount of experience. Everyone works differently in R, so if you have experience you will likely learn other ways to do things. I find that is true, and I enjoy learning from others that go about coding differently than I do.
This book is your friend RDS
Here is a link to another class of mine that also has lots of code and tutorials that you can utilize Watershed Analysis
Some topics we will cover in this tutorial:
- installing R and RStudio on your computer
- basics of GitHub
- projects and why you should use them
- layout of RStudio
- RMarkdown
- the tidyverse
- packages in the tidyverse
- loading, visualizing, and wrangling data
- functions and for loops
Read this short article from Jenny Bryan on why you should always us packages. Link
This tutorial is accompanied by a video where I walk through all of the coding and describe what is happening. You should start the video and we will open the link below together and walk through the tutorial. You can pause the tutorial at any point you need to and work through it at your own pace.
Last, please reach out to me if you have any questions (now and throughout the semester) and we will hop on a Zoom and get you on track!