Let n=20 and k=10. > v <- 1:20 > v[-10] [1] 1 2 3 4 5 6 7 8 9 11 12 13 14 15 16 17 18 19 20 >
This is what you want? Gabor On Fri, Apr 14, 2006 at 01:24:59AM +0200, Barbora Kocúrová wrote: > Hello. > I have a vector which length is n. And I would need to put off the item of > the vector with index k which is less then n. > Could you please advise me? > Thanks > Barbora K. > ---------------------------------------- > hry.atlas.cz - Světově proslulá karetní hra Poker Texas Hold´em online > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Csardi Gabor <[EMAIL PROTECTED]> MTA RMKI, ELTE TTK ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
