search for: herceptin

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

2012 Mar 20
2
Reshaping data from long to wide without a "timevar"
...g a timevar to my data? And if do need a timevar, what's the best way to add it? Thanks, Paul connection <- textConnection(" 005 1 Gemcitabine 005 2 Erlotinib 006 1 Gemcitabine 006 3 Erlotinib 006 2 Paclitaxel 009 1 Gemcitabine 009 2 Erlotinib 010 1 Gemcitabine 010 2 Erlotinib 010 3 Herceptin ") TestData <- data.frame(scan(connection, list(Subject = 0, RowNo = 0, Drug = ""))) TestData$Subject <- as.integer(TestData$Subject) TestData$RowNo <- as.integer(TestData$RowNo) TestData$Drug <- as.character(TestData$Drug) require(reshape) Transpose <- reshape(Test...