πŸ“Š R Programming
Q. In R, what is the role of the ifelse() function?
  • (A) To check a single condition and execute different code based on the result
  • (B) To iterate over elements of a vector and apply a condition
  • (C) To generate random numbers based on a condition
  • (D) To switch between different conditions and values
πŸ’¬ Discuss
βœ… Correct Answer: (A) To check a single condition and execute different code based on the result

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
88
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ritu Singhal
Publisher
πŸ“ˆ
87%
Success Rate