Hi. One approach is using replicate. See ?replicate: replicate(3,rnorm(100,1,2))
Andrija On Sat, Dec 3, 2011 at 7:10 PM, Martin Zonyrah <martin20...@yahoo.com>wrote: > Hi, > I need help. I am trying to iterate this command x <- rnorm(100, 1.0, > 2.0) one hundred times in R but I don't seem to have a clue. > Can anyone help? > Your help is very much appreciated. > > Martin > > [[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. > > [[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.