Re: [R] Extracting data by row

2011-10-29 Thread William Dunlap
You didn't show the details of what you did before Ten<-dataTable1[(dataTable1$sensor_depth_m=="10"),] but that line makes me suspicious that you did some experimentation with syntax before coming up with that line. In particular, why did you use parentheses around (dataTable1$sensor_depth_m

Re: [R] Extracting data by row

2011-10-29 Thread Rainer Schuermann
On Friday 28 October 2011 18:04:59 Vinny Moriarty wrote: > Thanks everyone for you help with my last question, and now I have one > last one... Here is what I would do, based on my understanding of your question: # your data snippet as data frame > x site time_localtime_utc