Dear List

I have the POSIX timestamps of two events, A and B respectively. I want an expression that tests if A occurs within 4 weeks of B.

Something like:

if (ts_A "is between" ts_B + 4(weeks) and ts_B - 4) ...

Can probably done by regex but the regex docu for R says nothing about if statements.

Any help greatly appreciated,

Regards,
Jim Hargreaves

______________________________________________
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.

Reply via email to