The analog of ppp and owin in sf. The as.* methods are used for conversion which can convert from data-frames which is essentially how SFOs are represented.
The reason why as.SpatialGridDataFrame.im does not work is because maptools is not installed.
Rows: 55574 Columns: 31
── Column specification ────────────────────────────────────────────────────────
Delimiter: ","
chr (20): event_id_cnty, event_date, disorder_type, event_type, sub_event_ty...
dbl (11): year, time_precision, inter1, inter2, interaction, iso, latitude, ...
ℹ Use `spec()` to retrieve the full column specification for this data.
ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.