my data currently looks like this:
|Temp | Sex | ID | Survival1 | Surival11 | Survival21 |
|- - -|-----|----|-----------|-----------|------------|
| 30 | Male| 1 | 1 | 1 | 0 |
But I'm trying to make it so that I create 3 rows with Temp/Sex/ID the same but each of the survival columns added on to look like this with a time column
|Temp | Sex | ID | Time | Survival |
|- - -|-----|----|------|-----------|
| 30 | Male| 1 | 1 | 1 |
| 30 | Male| 1 | 11 | 1 |
| 30 | Male| 1 | 21 | 0 |
Any help with this would be greatly appreciated.