Q: R - transpose dataframe with multiple id columns and multiple variables I have a dataframe with eight ID variables and 40 columns (all values transposed to one column), with the name of the original variable recorded on each record of the resulting data frame. How can I transpose this dataset?
