Displaying 1 result from an estimated 1 matches for "datatable1".
Did you mean:
datatable
2011 Oct 29
2
Extracting data by row
...epth_m,temperature_c
06,2006-04-09 11:40:00,2006-04-09 21:40:00,BAK,sb39, 10, 29.57
06,2006-04-09 12:40:00,2006-04-09 22:40:00,BAK,sb39, 10, 29.68
06,2006-04-09 13:00:00,2006-04-09 23:00:00,BAK,sb39, 10, 29.68
To pull out all of the data from a 10m sensor depth I came up with the code:
Ten<-dataTable1[(dataTable1$sensor_depth_m=="10"),]
But when I run it I just get an extra column tacked onto the end like this
site,time_local,time_utc,reef_type_code,sensor_type,sensor_depth_m,temperature_c,
sensor_depth_m
06,2006-04-09 10:20:00,2006-04-09 20:20:00,BAK,sb39, 2, 29.63,10
06,2006-04-0...