1.

Differentiate Between Seq (6) And Seq_along (6)?

Answer»

Seq_along(6) will PRODUCE a vector with length 6 whereas SEQ(6) will produce a SEQUENTIAL vector from 1 to 6 C( (1,2,3,4,5,6)).

Seq_along(6) will produce a vector with length 6 whereas seq(6) will produce a sequential vector from 1 to 6 c( (1,2,3,4,5,6)).



Discussion

No Comment Found