Re: [R] Extract values from a data frame

2011-08-12 Thread Lali
Hi Ista, Thanks for your suggestion, I am still trying to wrap my head around the functions you used, as I am not familiar with any of them, but it works perfectly! I do want to understand the code, if you don't mind I would like to ask a few questions In this line: dfm <- melt(df[c(1, 2, 5, 8)],

Re: [R] Extract values from a data frame

2011-08-12 Thread Ista Zahn
On Fri, Aug 12, 2011 at 3:54 AM, Lali wrote: > Hi Ista, > Thanks for your suggestion, I am still trying to wrap my head around the > functions you used, as I am not familiar with any of them, but it works > perfectly! > I do want to understand the code, if you don't mind I would like to ask a > fe

Re: [R] Extract values from a data frame

2011-08-11 Thread Ista Zahn
Hi Laura, On Thu, Aug 11, 2011 at 7:01 AM, Lali wrote: > Hi everyone, > I have a data frame that looks *sort of* like this: > > name <- letters[1:5] > signal.1 <- c("12", "bad signal", "noise", "10", "X") > length.signal.1 <- 5:9 > intensity.signal.1 <- 3:7 > signal.2 <- c("13", "noise", "19.2",