prep_input: Prep Incoming Data

View source: R/zonal.R

prep_inputR Documentation

Prep Incoming Data

Description

Prep Incoming Data

Usage

prep_input(data, subds = 0, lyrs = NULL, win = NULL)

Arguments

data

SpatRaster, file path, raster

subds

positive integer or character to select a sub-dataset. If zero or "", all sub-datasets are returned (if possible)

lyrs

positive integer or character to select a subset of layers (a.k.a. "bands")

win

SpatExtent to set a window (area of interest)

Value

SpatRaster


mikejohnson51/zonal documentation built on Dec. 9, 2024, 11:52 p.m.