I have been given external data organized randomly in 6 rows and 18 columns, however each number corresponder to an observation of individuals, for that reason I would like to change the format to just two columns where one of them is called "individuals" and the other "level" (observations).
In the screenshot, you can see how the given data in .txt format looks like and how I want it to look in R (one column individuals and in the other observations):