Chapter 1 Learning objectives
This workshop focuses on basic programming in R.
You will learn how to use control flow (for
loops, if
, while
, repeat
, and apply()
family functions) methods to prevent code repetition, facilitate organization and run
simulations.
You will also learn to write your own functions, and tips to program efficiently.
- Recognizing control flow;
- Getting comfortable with testing conditions and performing iterations;
- Developing your first functions in
R
; - Discovering how to accelerate your code;
- Demonstrating useful
R
packages for biologists.