A function to Simulate multivariate point process models
lgcpSimMultitypeSpatialCovariates(
formulaList,
owin,
regionalcovariates,
pixelcovariates,
betaList,
spatial.offsetList = NULL,
cellwidth,
model.parameters,
spatial.covmodel = "exponential",
covpars = c(),
ext = 2,
plot = FALSE,
inclusion = "touching"
)
a list of formulae objetcs
a spatstat owin object on which to simulate the data
a SpatialPolygonsDataFrame object
a SpatialPixelsDataFrame object
list of beta parameters
list of poisson offsets
cellwidth
model parameters, a list eg list(sigma=1,phi=0.2)
the choice of spatial covariance model, can be anything from the RandomFields covariance function, CovariacenFct.
additional covariance parameters, for the chosen model, optional.
number of times to extend the simulation window
whether to plot the results automatically
criterion for cells being included into observation window. Either 'touching' or 'centroid'. The former, the default, includes all cells that touch the observation window, the latter includes all cells whose centroids are inside the observation window.
a marked ppp object, the simulated data