Link Search Menu Expand Document

Conclusions


For loops and conditional statements are powerful tools for customized data analysis operations to fit your unique needs. They cut down the length of your code, and can fill the role of functions when they do not meet your needs.

We have gone over relatively simple cases today that could probably be accomplished through a package/function, for the purpose of instruction. The tools you learned today are incredibly powerful however when there is no suitable package/function for a particular task.

Learning objectives

  1. Perform advanced, custom operations in R to manipulate and analyze data
  2. Expand knowledge, capability, and flexibility with base R
  3. Be able to create a for loop and conditional statement


For additional assistance, feel free to reach out to the research commons for a 1:1 consultation, or join a future workshop: