Day 1: Making choices and loops - Review

Review from last class (10 min)

Setup your RStudio project (5 min)

Practical uses of if/ else statements

Exercise 1: Load or download a file?


Practical uses of for loops

Exercise 2: Automatic analysis of muliple files (30 min)


Making choices inside functions

Exercise 3: A function for the UHURU data set


Iterations

Exercise 4: DNA or RNA?


Writing Functions

Exercise 5: Energy conversion challenge


You’ve got this!

Exercise 6: Length of floods