Description Usage Arguments Value Author(s) See Also Examples
Generates a set of points from either a homogeneous or inhomogeneous Poisson process
with optional clustering. This is a wrapper function for rpoispp
from
the spatstat
package. The intensity is defined by covariates on a grid,
an intensity formula and parameters. The correlation structure is defined by the model
and the correlation parameters.
1 2 |
covariates |
a matrix with columns x,y and any number of covariates x and y are the mid points of the grid cells; the order of the rows must match the formulation for function im |
int.formula |
formula for deriving expected intensity from covariates |
int.par |
parameters for intensity formula |
EN |
expected number of points |
model |
a spatial model for suimulation. See |
showplot |
if TRUE, plot intensity and point process |
showpts |
if TRUE show points on the plot |
... |
parameters, if any, passed to plot |
ppp object of point locations
Devin Johnson; Jeff Laake
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.