I'm looking for a way to duplicates rows under certain conditions and by deleting some columns on R, using dplyr or another package.
I have a table like this one :
Ring Date_d7 Date_d13 Info1 Info2
A 10/05 15/05 2 8
B 12/05 17/05 3 4
And I would like to obtain this one :
Ring Stage Date Info1 Info2
A d7 10/05 2 8
A d13 15/05 2 8
B d7 12/05 3 4
B d13 17/05 3 4
I am sorry I don't understand how to make a table so it's not very nice to read... Also there might be already an answer but I coulnd't find it, I looked for a way to arrange my table with dplyr but with no success so far. Thank you by advance for your help !