Switch function behaves the same way as set of stacked if-else statements. Switch statement serve as convenient short cut to stacked if else statements..the if-else code could be collapsed to one line switch statement as we will see in the video.
About Author
-------------------------------------------------------------------------------------------------------------------------------------------------
My name is Siddharth Sahasrabudhe. I am a founder of Plotly Analytics. I help business professionals learn data science using R programming. All my learning resources are easy to follow, thorough and anyone can follow them regardless of one's professional and educational background.
Find out more about plotly analytics here:
plotlyanalytic...
Connect with me on LinkedIn:
/ siddharth-sahasrabudhe...
Connect with me on Twitter:
x.com/PlotlyAn...
For one-on -one or group trainings in R language, please contact me at:
siddharth.sahasrabudhe@plotlyanalytics.com
Негізгі бет How to write SWITCH statement in R?
Пікірлер