powered by
srswr(n,N)
UPmultinomial
s=srswr(3,10) #the selected units are (1:10)[s!=0] #with the number of replicates s[s!=0]
Run the code above in your browser using DataLab