Q. What is the purpose of the which() function in R?

  • (A) To determine the length of an object
  • (B) To identify the positions of elements satisfying a condition
  • (C) To create a loop based on certain conditions
  • (D) To concatenate two vectors
πŸ’¬ Discuss
βœ… Correct Answer: (B) To identify the positions of elements satisfying a condition

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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