[R] functions sample() and S.SI()

2010-05-11 Thread Lourdes Molera
Hello, I need to select a sample from a small population using simple random sampling without replacement. I've found two possibilities in R, the function sample() and the function S.SI() in the package TeachingSampling, but I don't know which one is better. Can someone help me? Thank you

Re: [R] functions sample() and S.SI()

2010-05-11 Thread Jason Morgan
On 2010.05.11 18:30:57, Lourdes Molera wrote: Hello, I need to select a sample from a small population using simple random sampling without replacement. I've found two possibilities in R, the function sample() and the function S.SI() in the package TeachingSampling, but I don't know which