<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2920.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#d8d0c8>
<DIV><FONT face=Arial size=2>Hi ALL:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Suppose you have a population of N <- 5
observations, x <- c(43, 28, 7, 61, 39). From that you can draw a maximum of
10 samples without replacement of size n <- 3. (Command choose(N,n) yields
10). For instance the samples I seek are</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> 43, 61, 7</FONT></DIV>
<DIV><FONT face=Arial size=2> 39, 7, 28
...etc</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>How can I get R to do that for me, to get an
exhaustive list of samples of size n drawn without replacement from a population
of size N? The command, sample(x, 3, replace=FALSE), works well for one
draw. Is there a package that will handle multiple draws?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks and best wishes,</FONT></DIV>
<DIV><FONT face=Arial size=2>ANDREW</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> </FONT></DIV></BODY></HTML>