This function sets events on a space.
Examples
# Create the road network
road_network <- create_road_network(sample_roads)
#> Warning: CRS is missing. Returning the input object without transformation.
# Set accidents on the road network
road_network <- set_events(road_network, sample_accidents)