> Does anybody know why get I this kind of strange situation: > > Browse[2]> hcEnd > [1] "2009-03-29 06:30:00" > Browse[2]> class(hcEnd) > [1] "POSIXlt" "POSIXt" > Browse[2]> is.na(hcEnd) > [1] TRUE
pp<-as.POSIXlt("2009-03-29 06:30:00") pp [1] "2009-03-29 06:30:00" class(pp) [1] "POSIXlt" "POSIXt" is.na(pp) [1] FALSE So we can't repeat your example. -- Curt Seeliger, Data Ranger Raytheon Information Services - Contractor to ORD seeliger.c...@epa.gov 541/754-4638 [[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.