seq_along與seq_len函數的使用 在for迴圈中有用 ... seq_along與seq_len函數的使用 在for迴圈中有用 > seq_along(c(2,3,5)) [1] 1 2 3 > seq_len(3) [1] 1 2 3