如题请问r语言中怎么实现for+2循环,请问r语言中怎么实现for+2循环请问r语言中怎么实现for+2循环
循环步长的写法:for(i in seq(9, 18, by=2)){#9为起始值,108为终止值,2为步长print(i)}