Dear all, I did all this work with older R (R-3.5.3.patched and older) but now with R3.6 I cannot replicate the results. Below I sample 60 observations from 1:500 using the sample command with a random seed of 123. I get different results. Advice appreciated. Steven Yen
> # Run under R-3.6.0 > x<-1:500 > set.seed(12345671) > j<-sample(1:length(x),size=60); y<-x[j] > summary(y) Min. 1st Qu. Median Mean 3rd Qu. Max. 26.0 134.2 240.0 249.8 368.0 500.0 > # Run under R-3.5.3.patched > x<-1:500 > set.seed(12345671) > j<-sample(1:length(x),size=60); y<-x[j] > summary(y) Min. 1st Qu. Median Mean 3rd Qu. Max. 9.0 122.2 205.0 236.1 364.2 493.0 -- st...@ntu.edu.tw (S.T. Yen) [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.