s-news
[Top] [All Lists]

(pas d'objet)

To: "S-news@wubios.wustl.edu" <S-news@wubios.wustl.edu>
Subject: (pas d'objet)
From: Marion VERDOIT <Marion.Verdoit@ifremer.fr>
Date: Thu, 30 Nov 2000 18:37:23 +0100
Organization: ifremer
Hello, 
I have a vector 
a<-c("NA","1", "NA", "5", "NA", "6","8","10") 
I want the positions of the "NA"s in a, i.e.:
1 3 5
I try
match("NA", a), but it returns only the first position : 
> 1
have you the solution? 
Thank you

<Prev in Thread] Current Thread [Next in Thread>