全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
1578 0
2014-04-14
I got the below R codes which will generate total 3300 datasets and 6600 runs (k=2), these runs will run one by one (2~3 days). With the current code, when constraint condition, for example, 0 in dependent variable, is met in the if statement, this specific run(for example, tot = 1770) will break.

So my question is for a specific run, when that constraint condition is met, how can I regenerate the dataset (repeat the loop) until the newly generated dataset doesn't meet constraint condition to go through the rest of code.

              




二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群