as_data_backend.stars | R Documentation |
Wraps a mlr3::DataBackend around spatial objects.
Currently these S3 methods are only alternative ways for writing DataBackendRaster$new()
.
They do not support coercing from other backends yet.
## S3 method for class 'stars'
as_data_backend(data, primary_key = NULL, ...)
## S3 method for class 'SpatRaster'
as_data_backend(data, primary_key = NULL, ...)
## S3 method for class 'RasterBrick'
as_data_backend(data, primary_key = NULL, ...)
## S3 method for class 'RasterStack'
as_data_backend(data, primary_key = NULL, ...)
## S3 method for class 'sf'
as_data_backend(data, primary_key = NULL, keep_rownames = FALSE, ...)
data |
(terra::SpatRaster) |
primary_key |
( |
... |
( |
keep_rownames |
( |
mlr3::DataBackend.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.