?Control and ?sample should get you started.
Best,
Ista
On Thu, Mar 10, 2011 at 8:53 AM, taby gathoni 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 ma
Hello, Taby,
for your (first) problem take a look at
?sample
and its argument replace.
Regards -- Gerrit
On Thu, 10 Mar 2011, taby gathoni wrote:
Please note is with replacement
From: taby gathoni
To: R help
Sent: Thursday, March 10, 2011 11:53 AM
Subject: [R] random sampling steps
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 correspo
3 matches
Mail list logo