plot.pi: Plotting of the points serving in the estimation of pi

Description Usage Arguments Value Examples

View source: R/pi.R

Description

Plotting procedure for an object of the 'pi' class.

Usage

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

Arguments

x

an object of 'pi' class containing the points that serve to the estimation of the pi value.

Value

A plot of the unit square and the unit circle emphasising the points used in the estimation.

Examples

1
plot(x)

fbaeriswyl/ptds2020hw4g0 documentation built on Sept. 15, 2020, 10:40 a.m.