powered by
popsamp(n,pop,...)
data(imagpop) popsamp(10,imagpop) #Simple random sampling (no replacement) popsamp(10,imagpop,replace=TRUE) #Random sampling with replacement
Run the code above in your browser using DataLab