Learn R Programming

OpenLand (version 1.0.3)

summary_dir: Summary of multiple parameters in a raster directory

Description

Listing major characteristics of raster inputs. Those characteristics are the dimensions, the resolution, the extent, the values (min, max) and the coordinate reference system.

Usage

summary_dir(path)

Value

Table with the raster parameters in columns

Arguments

path

The path for the Raster* directory or list of Raster* to be analysed.

Examples

Run this code
# \donttest{
url <- "https://zenodo.org/record/3685230/files/SaoLourencoBasin.rda?download=1"
temp <- tempfile()
download.file(url, temp, mode = "wb") # downloading the SaoLourencoBasin dataset
load(temp)
# the acc_changes() function, with the SaoLourencoBasin dataset

summary_dir(raster::unstack(SaoLourencoBasin))
# }

Run the code above in your browser using DataLab