• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in R Language by
Q:
Differentiate between seq (6) and seq_along (6)

1 Answer

0 votes
by

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)).

Related questions

+2 votes
asked Jul 28, 2019 in R Language by Aarav2017
+3 votes
asked Jul 28, 2019 in R Language by Aarav2017
...