estimate_area: Estimation of a shape area function

Description Usage Arguments Value Examples

View source: R/area.R

Description

Estimates the area of a shape S by simulating random coordinates in a one by one square.

Usage

1
estimate_area(B = 5000, seed = 10)

Arguments

B

Number of random data points (x,y) to generate.

seed

Pseudorandom number generator.

Value

A list with estimation of the area of S and the simulated data points.

Examples

1
estimate_area(B = 3456, seed = 100)

ptds2021/pkghw4g6 documentation built on Dec. 22, 2021, 9:58 a.m.