Looping in R

wrangling

Learn how to use loops in R

Author

Wouter Steenbeek

Published

February 17, 2022

A loop is a sequence of one or more R commands that is carried out repeatedly. In this workshop meeting you will learn how to efficiently program loops in R

Join this workshop meeting on Zoom by clicking this link

By way of preparation, you might want to install two packages:

install.packages(“tidyverse”)

install.packages(“foreach”)

Wouter Steenbeek is a senior researcher at the Netherlands Institute for the Study of Crime and Law Enforcement (NSCR). He started using R around 2012. His main research interests are in spatial patterns of crime and quantitative research methods.

Wouter Steenbeek

Citation

For attribution, please cite this work as (NSC-R Workshops: Looping in R 2022)

References

NSC-R Workshops: Looping in R.” 2022. NSCR. https://nscrweb.netlify.app/posts/2022-02-17-looping-in-r/.