官术网_书友最值得收藏!

Basic Flow Control

Flow Control includes different kinds of loops that you can use in R, such as the if/else, for, and while loops. While many of the concepts are very similar to how flow control and loops are used in other programming languages, they may be written differently in R.

Generally speaking, most loops are not considered best practice for coding in R. Some alternatives to loops, especially for loops, include the apply family of functions and functions contained in the purrr package, which you are encouraged to look up and learn about after this book.
主站蜘蛛池模板: 海门市| 台中县| 平泉县| 措美县| 西乌珠穆沁旗| 贵南县| 宁河县| 南涧| 固安县| 运城市| 锡林郭勒盟| 江山市| 静乐县| 额尔古纳市| 突泉县| 收藏| 绵阳市| 米易县| 英山县| 抚顺市| 仲巴县| 焦作市| 长春市| 观塘区| 全州县| 青浦区| 新营市| 余姚市| 商洛市| 石嘴山市| 民权县| 额敏县| 佛冈县| 阜新市| 中江县| 甘肃省| 宁河县| 体育| 崇义县| 东光县| 葵青区|