search for: condtp

Displaying 1 result from an estimated 1 matches for "condtp".

Did you mean: condop
2008 May 19
1
reshape a wide data frame from wide to a long format with metadata columns
...e) to new metadata columns in the long format. #example data frame. NOTE column names contain metadata:: mediacont.21.MC1A contains treatment=mediacont, time=21, rep=MC1A data1<-data.frame(cbind(name=0:10, mediacont.21.MC1A=10:20,mediatreat.20.MD1A=30:40, treat.20.T2C=50:60,treat.20.T2A=70:80,condtp.20.C2A=90:100,condtp.20.C2B=100:110, mediacont.21.MC1B=120:130, mediacont.21.MC1B=130:140)) #example of reshape code that works, this creates a data frame with single metadata column and unique ID column. I could use this and create a loop to write metadata columns based on the metadata in the tim...