October 2017
Beginner to intermediate
236 pages
7h 38m
English
While writing a program, you might encounter a situation where you have to pick an item from a list based on a certain value of a test condition. The switch operator or the switch function in R is very handy in this type of situation. In this recipe, you will learn how to write R using the switch function.