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 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.