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

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.
主站蜘蛛池模板: 沙坪坝区| 石景山区| 新田县| 博爱县| 建湖县| 阳春市| 延川县| 吉安县| 龙川县| 榕江县| 通榆县| 衡南县| 手游| 柳林县| 东乡| 泰顺县| 龙川县| 龙州县| 信丰县| 张家港市| 延吉市| 云霄县| 新野县| 洛阳市| 汝州市| 穆棱市| 闸北区| 晋中市| 楚雄市| 昌平区| 毕节市| 赤壁市| 襄汾县| 团风县| 永清县| 新蔡县| 噶尔县| 漳州市| 九龙坡区| 华安县| 阳东县|