Learn R Programming

Rsagacmd (version 0.1.2)

read_grid: Read a raster data set that is output by saga_cmd

Description

Read a raster data set that is output by saga_cmd

Usage

read_grid(x, backend)

Arguments

x

list, a `options` object that was created by the `create_tool` function that contains the parameters for a particular tool and its outputs.

backend

character, either "raster", "terra" or "stars".

Value

either a `raster` or `SpatRaster` object