View source: R/chapter2.R
This simulates Buffon's Needle for estimating π. It is not done.
BuffonsNeedle(n, table_side = 8)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.