RFoptions(seed=0) ## *ANY* simulation will have the random seed 0; set
## RFoptions(seed=NA) to make them all random again
hist(RFrdistr(RRspheric(balldim=2), n=1000), 50)
hist(RFrdistr(RRloc(mu=3, RRspheric(balldim=2)), n=1000), 50)
FinalizeExample()
Run the code above in your browser using DataLab