> > I wanted to point out that this is a little easier to express with the > lubridate package: > > subset(dfx, dx > ymd("2007-06-01") & hour(dx) > 14 & hour(x) < 10) >
Thanks, will have a look at it.. > > but I presume you meant: > > subset(dfx, dx > ymd("2007-06-01") & hour(dx) > 10 & hour(x) < 14) > > You are certainly right about that... Best Regards, Michael Bach [[alternative HTML version deleted]] ______________________________________________ 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.