Q. Which of the following code will drop the nth column?

  • (A) new <- old[-n,]
  • (B) new <- old[,-n]
  • (C) new <- old[,-c(i,j)]
  • (D) new <- subset(old,logical)
πŸ’¬ Discuss
βœ… Correct Answer: (A) new <- old[-n,]

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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