R/simulatesums.R

"simulatesums" <-function(nrep, n, DIST, ...){
	temp <- matrix(DIST(n * nrep, ...), ncol = n, nrow = nrep)
	c(temp %*% rep(1., n))
	}

Try the Rlab package in your browser

Any scripts or data that you put into this service are public.

Rlab documentation built on May 5, 2022, 1:05 a.m.