Convert WhiteboxRaster to SpatRaster
Arguments
- x
Raster object of class WhiteboxRaster. See
wbw_read_raster()
for more details.
Examples
if (FALSE) { # \dontrun{
f <- system.file("extdata/dem.tif", package = "wbw")
wbw_read_raster(f) |>
wbw_slope(units = "r") |>
as_rast()
} # }