4  Coding exercise: A simple neutral model of biodiversity

4.1 Key questions

  1. How do we implement a process model in R?
  2. How do we use this model to explore how parameter settings affect outcomes?

4.2 Lesson objectives

  1. Code up UNTB in R.
  2. Change parameter settings and inspect the outcomes.

4.3 Lesson outline

4.3.1 (Group project) Code up UNTB in R!

4.3.2 (Backup)

Source the pre-coded UNTB located here

4.3.3 (Breakout groups or individual) Change parameter settings manually and visualize outcomes.