Re: [R] random sampling steps in R

From: Ista Zahn <izahn_at_psych.rochester.edu>
Date: Thu, 10 Mar 2011 12:20:04 +0000

?Control and ?sample should get you started.

Best,
Ista

On Thu, Mar 10, 2011 at 8:53 AM, taby gathoni <tabieg_at_yahoo.com> wrote:
> Dear all,
>
> Could someone assist me in random sampling steps/code in R? I have a main sample  of  42 males and 165 females and I want to come up with about 1000 samples of 20 males and 20 females from this main sample. While at it, i would also like to come up Accuracy  Ratios (ARs) with corresponding confidence intervals.
>
> Please assist.
>
>
> Thanks so much,
>
> Taby
>
>
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_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.
>

-- 
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org

______________________________________________
R-help_at_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.
Received on Thu 10 Mar 2011 - 12:29:05 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 10 Mar 2011 - 12:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive