Hello everyone and season's greetings. I have an array that looks like that R<-c(1,2,3,4,5,6). Is it possible to select all the elements but except one? For example to not select the third element and get back (1,2,4,5,6)? How can I do that? I would like to thank you in advance for your help Best Regards Alex [[alternative HTML version deleted]]
Alaios <alaios <at> yahoo.com> writes:> > Hello everyone and season's greetings. > I have an array that looks like that R<-c(1,2,3,4,5,6). > Is it possible to select all the elements but except one?For example to not select the third element and get back> (1,2,4,5,6)? > > How can I do that? > > I would like to thank you in advance for your help > Best Regards > Alex > > > [[alternative HTML version deleted]]Read section 2.7 of An Introduction to R that comes with the distribution. -- Ken Knoblauch Inserm U846 Stem-cell and Brain Research Institute Department of Integrative Neurosciences 18 avenue du Doyen L?pine 69500 Bron France tel: +33 (0)4 72 91 34 77 fax: +33 (0)4 72 91 34 61 portable: +33 (0)6 84 10 64 10 http://www.sbri.fr/members/kenneth-knoblauch.html