If your vector is x then
which(is.na(x))
produces that inecies.
--- Megh Dal <[EMAIL PROTECTED]> wrote:
> I have a vector with some of it's elements are NA. I
> am looking for a function to detect what are the
> corresponding index number of NA values. Anyone can
> help me on this regard?
>
>
I have a vector with some of it's elements are NA. I am looking for a function
to detect what are the corresponding index number of NA values. Anyone can help
me on this regard?
-
Building a website is a piece of cake.
[[alternative HTML version
2 matches
Mail list logo