## S3 method for class 'lppm':
simulate(object, nsim=1, ...,
new.coef=NULL,
progress=(nsim > 1))"lppm".coef(object).predict.lppm
to determine the spatial resolution of the image of the fitted intensity
used in the simulation.nsim containing simulated point patterns
(objects of class "lpp") on the same linear network as the
original data used to fit the model.
The result also belongs to the class "listof", so that it can be
plotted, and the class "timed", so that the total computation
time is recorded.simulate for the class "lppm" of fitted
point process models on a linear network. Only Poisson process models are supported so far.
Simulations are performed by rpoislpp.
lppm,
rpoislpp,
simulatefit <- lppm(unmark(chicago) ~ y)
simulate(fit)[[1]]Run the code above in your browser using DataLab