[R] Extracting subset of a vector

Megh Dal megh700004 at yahoo.com
Sat Oct 11 21:25:54 CEST 2008


I have 2 vecros :
x<-c(100,96,88,100,100,96,80,68,92,96,88,92,68,84,84,88,72,88,72,88)
x1 = sample(x, 5, replace=FALSE)

Now i want to get remaining values of vector "x" those are not member of vector "x1". Can anyone please tell me how to do that?



More information about the R-help mailing list