A

Admin • 833.24K Points
Coach

Q. Which of the following is valid assignment?

  • (A) > x <- fact(c("yes", "yes", "no", "yes", "no"))
  • (B) > x <- factor(c("yes", "yes", "no", "yes", "no"))
  • (C) > x <- factor(factor("yes", "yes", "no", "yes", "no"))
  • (D) > x <- factor(factor("yes", "no", "no", "yes", "no"))
  • Correct Answer - Option(B)
  • Views: 19
  • Filed under category R Programming
  • Hashtags:

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.

Be the first to start discuss.