Report question

Question: How to use the switch statement in R functions?