Alternatively, the ppp object can be created stepwise:
st_union(st_geometry(de))|>as.owin()->wst_geometry(no2.sf)|>as.ppp(W =w)->p# requires sf 1.0-9marks(p)=no2.sf$NO2p# Marked planar point pattern: 74 points# marks are numeric, of storage type 'double'# window: polygonal boundary# enclosing rectangle: [280741.3, 921330.5] x [5235822, 6101239] # units
Exercise 11.3
Compute and plot the density of the NO\(_2\) dataset, import the density as a stars object and compute the volume under the surface.