数据科学与R语言

for循环

2016-08-22  本文已影响0人  冯诺依曼
> s=0
> for(i in 1:100) s=s+i;print(paste("this is",s))
[1] "this is 5050"
> 
上一篇 下一篇

猜你喜欢

热点阅读