search for: gemcitabine

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

2012 Mar 20
2
Reshaping data from long to wide without a "timevar"
...ght take a single line of code to convert the former structure to the latter but this appears not to be the case. So can I get what I want without adding 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$S...