plot.pi: Plot objects of class pi

Description Usage Arguments Value Author(s) Examples

View source: R/pi.R

Description

Creating a plot representing the random coordinates created by the function "estimate_pi".

Usage

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

Arguments

x

A list of type pi

Value

A plot of the object

Author(s)

Vanessa Armistead

Bart Roes

Luisa Pricken

Ameni Rouatbi

Examples

1
2
obj <- estimate_pi()
plot(obj)

amenirouatbi/ptds2018hw4g3 documentation built on Dec. 7, 2018, 7:59 a.m.