Data Science Research Biology: An intro to programming with R for ecology and evolution
Handling 2 choices
Copy the following code and complete the if statement so that if age_class is equal to
“sapling” it sets y <- 10 and if age_class is equal to “seedling” it
sets y <- 5.