A vector containing simulation of pi, of the class 'simulation'. Being of 'simulation' class, plot() and summary() functions on the object is altered.
1 |
A column vector with 1000000 rows
Pi simulated with pairs of 2 independet (0,1) uniforms, and the evaluating the ratio that falls in the unit circle
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.