raster.clean: Uniformize raster layers.

Description Usage Arguments Details Value Examples

View source: R/red.R

Description

Crop raster layers to minimum size possible and uniformize NA values across layers.

Usage

1
raster.clean(layers)

Arguments

layers

Raster* object as defined by package raster.

Details

Excludes all marginal rows and columns with only NA values and change values to NA if they are NA in any of the layers.

Value

A Raster* object, same class as layers.

Examples

1
2

red documentation built on May 19, 2017, 9:33 p.m.

Search within the red package
Search all R packages, documentation and source code