Vidyalelo
R Programming · Q44

Data Manipulation with dplyr

Programming · R Programming · question 44

Q44

What is the purpose of the pivot_longer() function in dplyr?

A.
Transforms wide data to long format
Answer
B.
Transposes rows and columns
C.
Expands the data frame horizontally
D.
Unpivots the data frame

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board