for循环
for(i in a )
for(j in b)
{..}
> a <- c('a','b','c','d')
> for(i in c(1:length(a))){
print(i)}
[1] 1
[1] 2
[1] 3
[1] 4
> for(i in c(1:length(a))){
p
for(i in a )
for(j in b)
{..}
> a <- c('a','b','c','d')
> for(i in c(1:length(a))){
print(i)}
[1] 1
[1] 2
[1] 3
[1] 4
> for(i in c(1:length(a))){
p