0

Currently, I have this dataset

Dates Cities Number of Vaccinations
26th April Dubai 2
26th April Accra 3
26th April All 5
27th April Dubai 5
27th April Accra 3
27th April All 8

But I would like to transpose it to look like this: New to R, is there a proper way to go about this? Feels like transposition in a way but can't seem to wrap my head around it.

Dates Dubai Accra All
26th April 2 3 5
27th April 5 3 8
Kwaku Biney
  • 195
  • 1
  • 10

0 Answers0