PointSim | R Documentation |
Creates a new Poisson Point Process in a spacejamr object
PointSim(points, window, type, seed)
points |
the number of points to simulate |
window |
a spacejamr object to use as the spatial extent |
type |
the type of simulation. poisson_process simulates a spatial Poisson process. halton simulates a Halton sequence where the maximal number of simulated points is the first argument. |
seed |
an optional seed |
An object of class PointSim that contains a geographical window of class 'owin'. Within this window are four objects. n: the number of simulated points. x: the x coordinates of the simulated points. y: the y coordinates of the simulated points. markformat: an empty place holder.
Darren Colby
Email: dscolby17@gmail.com
# Load spacejamr object data("RI") # Poisson process ri_points <- PointSim(points = 10, window = RI, seed = 42)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.