PREFERED WAY OF DOING IT I have a data set of observations every second for a month long period, I want to extract the observations according to the date & time of another data frame ( the other data frame is in the same format). I want to do this to match these observations to my test observations (in the other data frame) which are done every 6 minutes. So basically im shrinking the data frame of second observations to only display the date time observation every 6 minutes.
ALTERNATIVE WAY In other words I just wanna extract every 6 minute observation value from this dataframe of everysecond observations date time observations 02/08/2011 00:00 1.165 02/08/2011 00:01 1.241 02/08/2011 00:02 1.232 Im pretty new to the porgram done 2 days on it learning and learning, im getting my head around it. Help would be much appreciated. -- View this message in context: http://r.789695.n4.nabble.com/Subset-a-datafram-according-to-time-tp4372293p4372293.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.