Hi all,
I would need to put my dataset into a tidy format.
My colomns are:
Age_Group; Men; Women; Unknown; Total ;Total_Incidence; M_Incidence ;W_Incidence
I used a tidyverse and did
a <- pivot_longer(df, cols = 2:4, names_to ="Gender",
values_to = "Cases")
but I would also need to somehow split the Incidence and connect it with the gender.
Could someone help me?
Thank you!