3 Comments
访客 *Qins* @ 2018-03-01 08:23:17 写道:
第一个模拟,可能并没有模拟出完全随机均匀地扔针,或者计数有瑕疵?
扔了400次,偏差应该不会那么大吧
My bad, 高估了扔火柴的效率, 看到过wikipedia上面有个例子扔17次, π就估计到了3.1
Guest *Henry Chen* @ 2021-10-11 02:34:15 originally posted:
lmao
Guest *anonymous* @ 2020-11-25 02:28:17 originally posted:
Yihui, thank you for these great examples. I am trying to understand how I can use the animation package to build animations that cumulate/preserve old frames rather that overwrite. Each of the 3 plots in your buffoon.needle example cumulate frames in that sense. I would greatly appreciate your advice. Please note, I also posted essentially the same question, but with a few more details, here: https://stackoverflow.com/questions/64997085/how-to-cumulate-preserve-old-frames-using-the-animation-package
Hi, I just posted an answer to your SO question.
Originally posted on 2020-11-25 03:58:27
Guest *anonymous* @ 2020-11-25 14:11:01 originally posted:
Your answer solved my problem. Thank you.
Guest *anonymous* @ 2021-03-22 17:50:08 originally posted:
Is it possible to embed in pdf using r markdown a video made with the animation package? I couldn't find any such example anywhere, SO included.
Sign in to join the discussion
Sign in with GitHub