Take a look at

?sample

HTH,
Jorge.-


On Sun, Jan 29, 2012 at 11:21 AM, Ron Michael <> wrote:

> Dear all, here I need to draw all possible samples of size 2, from a
> population, which is characterized by c(1,4,56, 3). Sampling will be done
> with replacement. Is there any direct R function to faciliate this darwing?
>
> Thanks for your help
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to