in Technology by (1.9m points)

How is seq_along(5) different from seq(5)?

1 Answer

0 votes
by (1.9m points)

The seq_along(6) will result in a vector that has a length of 6 whereas seq(6) will deliver us a consecutive vector from 1 to 6c( (1,2,3,4,5,6)).

...