Q. How do you filter rows where a specific variable is not equal to a given value using filter() in dplyr?

  • (A) filter(variable != value)
  • (B) filter(not_equal(variable, value))
  • (C) filter(variable <> value)
  • (D) filter(variable not in value)
πŸ’¬ Discuss
βœ… Correct Answer: (A) filter(variable != value)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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