[R] Vector
Gabor Csardi
csardi at rmki.kfki.hu
Fri Apr 14 01:33:30 CEST 2006
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
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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 <csardi at rmki.kfki.hu> MTA RMKI, ELTE TTK
More information about the R-help
mailing list