Convert Wide Format to Long Format to Create Pie Chart

69 views Asked by At

I am trying to use this data frame to create a pie chart in R. I understand its best to convert it to long format first. However I am having trouble converting it as I do not know what to put after "col =" as there is no "first column".

enter image description here

Thank you.

0

There are 0 answers