seq_along与seq_len函数的使用
在for循环中有用
> seq_along(c(2,3,5))
[1] 1 2 3
> seq_len(3)
[1] 1 2 3
> seq_along(c(2,3,5))
[1] 1 2 3
> seq_len(3)
[1] 1 2 3
相关文章: