Hello, Maybe one possiblity is to search complete cases, such as complete.cases(z), and subset according to the output.
It might also be interesting to check why you sometimes get NA. Regards, Pascal On 27 February 2014 16:11, Bill <william...@gmail.com> wrote: > Yes! that worked. > By the way, still puzzled about how to write the function that would delete > ones where there was an error in the function I used. Any idea on that? > > On Thu, Feb 27, 2014 at 8:06 PM, Pascal Oettli <kri...@ymail.com> wrote: >> >> z <- strptime(radSampTrim$Captured.Time[1:300000], "%F %T") > > > -- Pascal Oettli Project Scientist JAMSTEC Yokohama, Japan ______________________________________________ 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.