RRgauss
defines
the d-dimensional vector of independent Gaussian random
variables.
RRgauss(mu, sd, log)
RRdistr(norm(mu=mu, sd=sd, log=log))
RMmodel
,
RRdistr
,
RRunif
.RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## RFoptions(seed=NA) to make them all random again
r <- RFrdistr(RRgauss(mu=c(1,5)), n=1000, dim=2)
plot(r[1,], r[2, ])
Run the code above in your browser using DataLab