My data is currently formatted as such:
ID PC1 PC2 PC3 PC4
5 8970 864
6 2800 2812 2801 284
What I would like is a separate row for each data point, linked to the unique ID so that:
ID PC
5 8970
5 864
6 2800
6 2812
6 2801
6 284
I realise this is a very basic question, but in looking for similar questions I can only find ways to do this the other way around!