[R] regular pentagon

Rolf Turner r.turner at auckland.ac.nz
Sun Mar 9 06:11:31 CET 2014


On 08/03/14 10:22, Yuanzhi Li wrote:
> Hello, everyone,
>
> Do you have any idea to get a set of random points within a regular
> pentagon? Thanks in advance!

You can easily do this using the spatstat package.

cheers,

Rolf Turner




More information about the R-help mailing list