filter_on_extent | R Documentation |
Filter HydroMonitor ObservationWell data on extent.
filter_on_extent(hm, e)
hm |
HydroMonitor Observation Well data as read by |
e |
Extent object or a Raster* or Spatial* object |
Filtered HydroMonitor ObservationWell data (list of 2 met data.frames xm en xd).
## Not run:
hm <- hm1
xmin <- min(hm$xm$X)
xmax <- max(hm$xm$X)
ymin <- min(hm$xm$Y)
ymax <- max(hm$xm$Y)
dx <- (xmax-xmin)/10
dy <- (ymax-ymin)/10
e <- terra::ext(c(xmin+dx, xmax-dx, ymin+dy, ymax-dy))
hm_filtered <- hm |> filter_on_extent( e )
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.