Re: [R] fetch uneven

2011-03-17 Thread rens
Thanks ! You all made my day ! -- View this message in context: http://r.789695.n4.nabble.com/fetch-uneven-tp3381949p3383956.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailma

Re: [R] fetch uneven

2011-03-16 Thread Henrique Dallazuanna
Try this: a <- m[c(TRUE, FALSE)] On Wed, Mar 16, 2011 at 11:43 AM, rens wrote: > Hi > I have a vector m: >  m >  [1] "ABC transporters" >  [2] "2" >  [3] "Acetyl-CoA" >  [4] "1" >  [5] "Energie" >  [6] "1" >  [7] "FAD Biosynthese" >  [8] "1" >  [9] "Glyoxylate and dicarboxylate metabolism" > [10

Re: [R] fetch uneven

2011-03-16 Thread David Winsemius
On Mar 16, 2011, at 1:21 PM, Henrik Bengtsson wrote: See ?seq for generating index vectors of different kinds. /Henrik Most people will probably understand seq(...) better than they understand modulo arithmetic, but logical indexing could also be used for the task: ((1:12) %/% 2) ==

Re: [R] fetch uneven

2011-03-16 Thread Henrik Bengtsson
See ?seq for generating index vectors of different kinds. /Henrik On Wed, Mar 16, 2011 at 7:43 AM, rens wrote: > Hi > I have a vector m: >  m >  [1] "ABC transporters" >  [2] "2" >  [3] "Acetyl-CoA" >  [4] "1" >  [5] "Energie" >  [6] "1" >  [7] "FAD Biosynthese" >  [8] "1" >  [9] "Glyoxylate and

[R] fetch uneven

2011-03-16 Thread rens
Hi I have a vector m: m [1] "ABC transporters" [2] "2" [3] "Acetyl-CoA" [4] "1" [5] "Energie" [6] "1"