Re: [R] Finding Indices of Vector

2008-11-09 Thread John Kane
?which --- On Sun, 11/9/08, Meir Preiszler <[EMAIL PROTECTED]> wrote: > From: Meir Preiszler <[EMAIL PROTECTED]> > Subject: [R] Finding Indices of Vector > To: r-help@r-project.org > Received: Sunday, November 9, 2008, 10:56 AM > Lets say I have a vector as follo

Re: [R] Finding Indices of Vector

2008-11-09 Thread Duncan Murdoch
On 09/11/2008 10:56 AM, Meir Preiszler wrote: Lets say I have a vector as follows xx<-rnorm(20) How could I find the indices of the vector<0? which(xx<0) Duncan Murdoch Thanks Meir Meir Preiszler - Research Engineer I t a m a r M e d i c a l

[R] Finding Indices of Vector

2008-11-09 Thread Meir Preiszler
Lets say I have a vector as follows xx<-rnorm(20) How could I find the indices of the vector<0? Thanks Meir Meir Preiszler - Research Engineer I t a m a r M e d i c a l Ltd. Caesarea, Israel: Tel: +(972) 4 617 7000 ext 232 Fax: +(972) 4 627 5598 C