I am just looking for a way in R to re-allocate the data of a file. I have multiple columns and I want to store them all under one column with another one next to that indicates the column name, For example:
I have this:
A B C
a1 b1 c1
a2 b2 c2
And I would like to make something like that:
Item Label
a1 A
a2 A
b1 B
b2 B
c1 C
c2 C
(Ideally, I'd like to do that for multiple columns. Thus, I suppose this could be done with a for command).