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