How can I exclude a vector of integers being chosen from sample function.

For example:

1st Run.

s=sample(1:10,3)

print( s )

[1] 5 2 3

Now I would like to use sample again but to exclude the posibility of the 
already picked numbers being drawn. I work on very large vectors and as such I 
would like to make use of the vector the are stored in( which in our case is 
"s”)

Thank you for your time.
_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to