The “sample” function in the statistical programming language R is biased… See screenshot. Possible fix: https://github.com/daqana/dqsample pic.twitter.com/tOusiLwcdb
U tweetove putem weba ili aplikacija drugih proizvođača možete dodati podatke o lokaciji, kao što su grad ili točna lokacija. Povijest lokacija tweetova uvijek možete izbrisati. Saznajte više
It looks like it's fixed in the Linux version for x86_64, at least; where did you install your Mac version from? Mine installed via https://cran.r-project.org/bin/linux/ubuntu/README.html …pic.twitter.com/NrTaRm07sR
MacOSX R from here: https://cran.r-project.org/bin/macosx/ Bug seems inexcusable. I’ve recommended R over python when correctness is critical, because R’s vetted by statisticians not programmers. Made a fool of me?
$ docker run --rm -ti r-base:3.5.3 Rscript -e 'print(table(sample(1717986919,1000000,replace=TRUE)%%2))' 0 1 466675 533325 $ docker run --rm -ti r-base:3.6.2 Rscript -e 'print(table(sample(1717986919,1000000,replace=TRUE)%%2))' 0 1 499802 500198 $
Very strange. I get results similar to Dirk in 3.6.1 on Windows and 3.6.2 on Ubuntu 19.10. Could it be a macOS thing?
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.