search for: rehovot

Displaying 2 results from an estimated 2 matches for "rehovot".

Did you mean: reboot
2003 Feb 08
1
mirroring R
Dear supporter, Can you tell me please how can I mirroring R at our site? One of the reasons I would like to do this is the fact that it is impossible to update R behind our firewalls. Thank in advance Ron Ophir, Ph.D. Bioinformatician, Biological Services Weizmann Institute of Science POB 26 Rehovot 76100 Israel e-mail: Ron.Ophir at weizmann.ac.il Phone: 972-8-9342614 Fax:972-8-9344113
2005 Nov 10
7
different functions on different vector subsets
Hi, I am trying to apply two different functions on on a vector as follow: a<-c(NA,1,2,3,-3,-4,-6) if a>0 I would like to raise it by the power of 2: 2^a and if the a<0 I would like to have the inverse value, i.e., -1/2^a. so I thought of doing it two steps: a[a>0]<-2^[a>0] a[a<0]<-(-1)/2^a[a<0] I got the following error Error: NAs are not allowed in subscripted