The ________ function in R is used to concatenate elements or vectors of different types.

  • None of the above
  • c()
  • concat()
  • merge()
The 'c()' function in R is used to concatenate elements or vectors of different types. The 'c()' function will automatically coerce types if necessary. For example, if you concatenate a numeric and a character vector, all the elements will be converted to characters.
Add your answer
Loading...

Leave a comment

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