# Create a simulation object
sim_obj <- CreateSimulationObject()
# Update the simulation window
new_window <- spatstat.geom::owin(c(0, 5), c(0, 5))
updated_sim_obj <- UpdateSimulationWindow(sim_obj, window = new_window)
Run the code above in your browser using DataLab