Event box

R for data science: custom functions and iteration

R for data science: custom functions and iteration

[Online] Part of the Rfun series. R and the Tidyverse are a data-first coding language that enables reproducible workflows. This Introduction to iteration and custom functions uses a case-study approach to iterating over rows in a data frame using the {purrr} package.  {purrr} is an efficient and easier alternative to writing FOR loops.

Prerequisite:  familiarity with Tidyverse and ggplot (See Rfun quickStart).  This workshop will explore efficient alternatives to for-loops by leveraging custom functions and the purrr library functions, e.g. map().  With these skills you can organize data frames for iteration.  For example, when ingesting multiple CSV files or multiple Excel worksheets.  You will learn nesting techniques that foster iteration.  You'll be able to organize data frames that contain models, and visualizations. 

This event is offered virtually. A zoom link will be sent via email to registered participants. 

The content of the workshop may be recorded. If you are uncomfortable with a recording being published, please contact the instructor at anytime prior to the conclusion of the workshop.

Data Science

Date:
Tuesday, January 31, 2023
Time:
10:00am - 11:30am
Campus:
n/a
Categories:
Data and Visualization  
Registration has closed.

Event Organizer

Profile photo of John Little
John Little
Profile photo of Center for Data and Visualization Sciences
Center for Data and Visualization Sciences