VOOZH about

URL: https://www.geeksforgeeks.org/r-language/combine-arguments-into-a-vector-in-r-programming-c-function/

⇱ Combine Arguments into a Vector in R Programming - c() Function - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Combine Arguments into a Vector in R Programming - c() Function

Last Updated : 15 Jul, 2025
c() function in R Language is used to combine the arguments passed to it.
Syntax: c(...) Parameters: ...: arguments to be combined
Example 1: Output:
[1] 1 2 3 4
Example 2: Output:
[1] "a" "b" "c" "d"
Comment
Article Tags:

Explore