Taught by Ritika Giri, Northwestern University IT Research Computing and Data Services
- Download the materials to your machine by clicking on the green "Code" button on the top right and selecting "Download ZIP".
- Unzip the downloaded folder, and double-click on the .RProj file to open up the R Project in RStudio.
- Open
nsir-writing-functions.qmd
and work through the materials.
- Declaring functions in R
- Function arguments
- Returning values
- Passing columns of data to functions with
{{}}
- README.md markdown file outlining the repository
- .Rproj folder maintaining an R Project for this directory
- nsir-writing-functions.qmd Quarto document with the workshop contents
- R and RStudio
- Packages:
tidyverse
andpalmerpenguins