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? > > > --------------------------------- > Building a website is a piece of cake. > > [[alternative HTML version deleted]] > > ______________________________________________ > [email protected] 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. > ______________________________________________ [email protected] 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.

