[R] Alternate to for-loop
ligges at statistik.tu-dortmund.de
Mon Feb 16 13:15:27 CET 2009
> Hi, I am trying to create a vector of length 10 (say), wherein each element
> will be average of random sample of size 100, from a distribution, say
> Normal. Can anyone please tell me without creating a "for" loop, how I can
> do that?
Homework? Then please ask you course material or teacher.
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
More information about the R-help