Creates an object of class "ppp" that represents a marked point pattern in the two-dimensional plane.
Examples
# Load example data
data(small_example_data)
# Generate a marked point process
generate_mpp(
locations = small_example_data %>% dplyr::select(x, y),
marks = small_example_data$size,
xy_bounds = c(0, 25, 0, 25)
)
#> Marked planar point pattern: 121 points
#> marks are numeric, of storage type ‘double’
#> window: rectangle = [0, 25] x [0, 25] units