Skip to content

ritika-giri/R-workshop-writing-your-own-functions

Repository files navigation

Workshop on writing functions in R

Taught by Ritika Giri, Northwestern University IT Research Computing and Data Services

Getting Started

  • 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.

Concepts

  • Declaring functions in R
  • Function arguments
  • Returning values
  • Passing columns of data to functions with {{}}

Components

  • 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

Required Installs

  • R and RStudio
  • Packages: tidyverse and palmerpenguins

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published