Hello great and omnificent stackoverflow,
I have a data frame structured like so.
Person Dilution Analyte Meta#1 Meta#2
john 1 Blank 3x 100
john 2 Blank 3x 100
john 1 mulv 3x 100
john 2 mulv 3x 100
john 1 gp41 3x 100
john 2 gp41 3x 100
kelly 20 blank 3x 100
kelly 20 gp41 3x 100
There could be many persons, with many different dilutions and analytes. The meta info will always be the same down the column. I would like to produce the following data frame:
Person Dilution Analyte Meta#1 Meta#2
john 1,2 Blank,mulv,gp41 3x 100
kelly 20 blank,gp41 3x 100
I was wondering if anyone knows of any nifty tricks for concatenating information such as this?