Q. Which of the following statement would print "0" "1" "2" "3" "4" "5" "6" for the following R code?
> x <- 0:6

  • (A) as.character(x)
  • (B) as.logical(x)
  • (C) as.numeric(x)
  • (D) as.num(y)
πŸ’¬ Discuss
βœ… Correct Answer: (A) as.character(x)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
155
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate