Message-ID: <CAAcyNCwFwY+wbk0n7oakXvBmsm8aR5jrWqSmpqChRDU13WC+gA@mail.gmail.com>
Date: 2014-02-27T07:32:06Z
From: Pascal Oettli
Subject: write function to convert to date or delete
In-Reply-To: <CAJnbHtLEddJZyKCYKP0dp=CRtBwfzKggS7Z4mgGitLRjkGV4Gw@mail.gmail.com>
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 <william108 at 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 <kridox at ymail.com> wrote:
>>
>> z <- strptime(radSampTrim$Captured.Time[1:300000], "%F %T")
>
>
>
--
Pascal Oettli
Project Scientist
JAMSTEC
Yokohama, Japan