Displaying 2 results from an estimated 2 matches for "hamid200356".
2008 Dec 01
3
exclude a vector value from another vector
Dear All,
I am trying to build a program which will take repeated samples (w/o
replacement) from a population of values. The interesting catch is that I
would like the sample values to be removed from the population, after each
sample is taken.
For example:
pop<-c(1,5,14,7,9,12,18,19,65,54)
sample(pop, 2) = lets say, (5,54)
## This is where I would like values (5, 54) to be removed from
2008 Dec 01
2
vector
Dear All,
I am trying to build a program which will take repeated samples without
replacement from a population of values. The interesting catch is that I
would like the sample values to be removed from the population, after each
sample is taken.
For example:
pop<-c(1,5,14,7,9,12,18,19,65,54)
sample(pop, 2) = lets say, (5,54)
## This is where I would like values (5, 54) to be removed from