[R] is a sequence of dates consecutive, without gaps?

Christopher W. Ryan cryan at binghamton.edu
Tue Jul 21 23:58:54 CEST 2009


I have a long sequence of dates, about 6 years worth, as one column in a
data frame. How can I test whether the sequence is consecutive, that is,
without gaps?

Thanks.

--Chris
-- 
Christopher W. Ryan, MD
SUNY Upstate Medical University Clinical Campus at Binghamton
40 Arch Street, Johnson City, NY  13790
cryanatbinghamtondotedu

"If you want to build a ship, don't drum up the men to gather wood,
divide the work and give orders. Instead, teach them to yearn for the
vast and endless sea."  [Antoine de St. Exupery]




More information about the R-help mailing list