I am setting un my R code for doing a Monte Carlo, however I need a sample of 1 number with a random distribution, so in order to test the function of the sample in R, I set the code bellow, however I do not understand the resonds of the different results.
x<- rnorm(1,8,0) x 8
y<-sample(x=rnorm(1,8,0), size=1) y 4
Aucun commentaire:
Enregistrer un commentaire