[R] write function to convert to date or delete

Pascal Oettli kridox at ymail.com
Thu Feb 27 08:32:06 CET 2014


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




More information about the R-help mailing list