Displaying 1 result from an estimated 1 matches for "yourdatavector".
2007 Feb 27
3
looping
Greetings:
I am looking for some help (probably really basic) with looping. What I want
to do is repeatedly sample observations (about 100 per sample) from a large
dataset (100,000 observations). I would like the samples labelled sample.1,
sample.2, and so on (or some other suitably simple naming scheme). To do
this manually I would
>smp.1 <- sample(100000, 100)
>sample.1 <-