Q. In dplyr, what does the mutate() function do?

  • (A) Filters rows based on a condition
  • (B) Creates a new variable based on existing ones
  • (C) Mutates the data frame structure
  • (D) Applies a function to each element of a vector
πŸ’¬ Discuss
βœ… Correct Answer: (B) Creates a new variable based on existing ones

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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