mask_raster: Mask a raster.

Description Usage Arguments Value Author(s)

Description

Mask a raster using either a vector or another raster.

Usage

1
mask_raster(file_path, mask, band = 1, resampling = "ngb")

Arguments

file_path

A character. Path to a raster file.

mask

Either an sf or raster object. A mask to be applied to the input.

band

An integer. The band identifier in the input file.

resampling

A character. A resamplig method.

Value

A raster object.

Author(s)

Alber Sanchez, alber.ipia@inpe.br


albhasan/sits.prodes documentation built on Sept. 3, 2020, 2:03 p.m.