## S3 method for class 'ppm':
simulate(object, nsim=1, ...,
start = NULL,
control = default.rmhcontrol(object, expand=expand),
project=TRUE,
expand=NULL,
verbose=FALSE, progress=(nsim > 1))"ppm".rmhstart for description of these arguments.
Defaults to list(x.start=data.ppm(model))rmhcontrol
for description of these arguments.project=TRUE the closest valid model will be simulated;
if rmh.ppm
during the simulation of each point pattern.nsim containing simulated point patterns
(objects of class "ppp").simulate for the class "ppm" of fitted
point process models.
Simulations are performed by rmh.ppm.ppm,
simulate.kppm,
simulatedata(japanesepines)
fit <- ppm(japanesepines, ~1, Strauss(0.1))
simulate(fit, 2)Run the code above in your browser using DataLab