M

Mr. Dubey • 97.86K Points
Coach

Q. How do you create a character vector with the elements "apple", "orange", and "banana" in R?

  • (A) char_vec <- c("apple", "orange", "banana")
  • (B) vector("apple", "orange", "banana")
  • (C) create_char_vector("apple", "orange", "banana")
  • (D) char_vec(c("apple", "orange", "banana"))

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics