What is the result of concatenating two vectors in R?

  • A list containing the original vectors
  • A new vector containing all elements of the original vectors
  • A new vector containing only the unique elements of the original vectors
  • None of the above
When two vectors are concatenated in R using the 'c()' function, the result is a new vector containing all elements of the original vectors. The order of elements in the new vector follows the order in which the original vectors were concatenated.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *