ldmppr_sim objects are returned by simulate_mpp. They contain the simulated
realization, an associated marked point pattern object, and metadata used to
reproduce or inspect the simulation.
Usage
# S3 method for class 'ldmppr_sim'
print(x, ...)
# S3 method for class 'ldmppr_sim'
as.data.frame(x, ...)
# S3 method for class 'ldmppr_sim'
nobs(object, ...)
# S3 method for class 'ldmppr_sim'
plot(x, pattern_type = "simulated", ...)
mpp.ldmppr_sim(x, ...)Value
For methods:
print()prints a summary of the simulation.
plot()returns a ggplot visualization of the marked point pattern.
as.data.frame()returns the simulated realization as a data.frame.
nobs()returns the number of points in the realization.
mpp()returns the marked point pattern object.
Details
An ldmppr_sim is a list with at least:
process: process name (e.g."self_correcting")mpp: a marked point pattern objectrealization: data.frame with columnstime,x,y,marksparams,bounds, and other metadata