Message-ID: <208C1926-7F37-4316-941F-E05806E20E45@xs4all.nl>
Date: 2012-05-10T15:34:07Z
From: Berend Hasselman
Subject: How to capture NA values
In-Reply-To: <1336662994.71490.YahooMailNeo@web120106.mail.ne1.yahoo.com>
On 10-05-2012, at 17:16, Alaios wrote:
> Dear all,
> I would like to capture the NA values as produced from my code
> the str over the return values return
>
> int 61
> int 65
> int 69
> int 73
> int 101
> int NA
> int NA
>
> it looks like that I am getting returned some integer values that are NA and I want to have an if statement for catching those
>
> which is the right operator for checking these int NA values in R?
How about simply is.na?
Berend