Skip to contents

Convert SpatRaster to WhiteboxRaster

Usage

as_wbw_raster(x)

Arguments

x

SpatRaster object

Value

WhiteboxRaster object

See also

Examples

if (FALSE) { # \dontrun{
library(terra)
f <- system.file("extdata/dem.tif", package = "wbw")
rast(f) |>
  as_wbw_raster()
} # }