plot.pi: Plot objects of resulting from the estimate_pi function

Description Usage Arguments Value Author(s) Examples

Description

This function draws a plot representing the approximtion of the number pi obtained with the estimate_pi function

Usage

1
2
## S3 method for class 'pi'
plot(x)

Arguments

x

An output from the estimate_pi function

Value

A plot of the simulated points

Author(s)

Germano David

Lomazzi Vincent

Bron Luca

Raisin Edgar

Grandadam Patrik

Examples

1
2
estimated_pi <- estimate_pi(5000)
plot(estimated_pi)

vincentlomazzi/ptds2018hw4g5 documentation built on May 3, 2019, 7:41 p.m.