[R-sig-Geo] Generating random points
Adrian Baddeley
adrian at maths.uwa.edu.au
Wed Sep 14 12:32:08 CEST 2005
> I need to generate (randomly) n points inside the boundary of a polygon,
> is there any function that can handle this?
For this kind of functionality, use the `spatstat' package
which offers (for example)
rpoint Generate N Random Points
runifpoint Generate N Uniform Random Points
rpoispp Generate Poisson Point Pattern
stratrand Stratified random point pattern
Adrian Baddeley
More information about the R-sig-Geo
mailing list