[R] Finding Indices of Vector
Duncan Murdoch
murdoch at stats.uwo.ca
Sun Nov 9 16:59:52 CET 2008
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 Ltd.
> Caesarea, Israel:
> Tel: +(972) 4 617 7000 ext 232
> Fax: +(972) 4 627 5598
> Cell: +(972) 54 699 9630
> Email: pmeir at itamar-medical.com
> Web: www.Itamar-medical.com
> *********************************************
>
>
>
>
> ----------------8<--------------------8<-------------------8<-------------------
> This E-mail is confidential information of Itamar medical Ltd. It may also
> be legally privileged. If you are not the addressee you may not copy, forward,
> disclose or use any part of it. If you have received this message in error,
> please delete it and all copies from your system and notify the sender
> immediately by return E-mail. Internet communications cannot be guaranteed
> to be timely, secure, error or virus-free. The sender does not accept
> liability for any errors or omissions. Before printing this email ,
> kindly think about the environment. Itamar Medical Ltd. MIS Yan Malgin.
> ----------------8<--------------------8<-------------------8<-------------------
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org 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.
More information about the R-help
mailing list