So I've prepared the following dummy-data with the following code,
whatever <- data.frame(model=c("Nug", "Ste"), A=c(1,2), B=c(3,4), C=c(5,6))
...and thus the following dataframe provided by a screenshot (CBB to figure out Stack Overflow's syntax to create a table format):
So the new dataframe would have 2x3 columns and one row, e.g Nug.A = 1, Ste.A = 2**, Nug.B = 3, Ste.B = 4, Nug.C = 5 and finally Ste.C = 6
I'm sure such a data manipulation function already exists, but I do not know the name to call this transformation, so I couldn't Google it. I'm not asking how to go from wide to long, but rather a long (with not one but multiple columns) to wide.