readLayers: Read rasters with optional discrete and plot functionality

Description Usage Arguments Value

View source: R/readLayers.R

Description

Takes any raster file compatiable with 'raster' package

Usage

1
readLayers(layers, from, to, binary, plot)

Arguments

layers

RasterLayer. Filename or path of raster objects.

from

Numeric. Lower numeric value used for converting data to binary

to

Numeric. Upper numeric value used for converting data to binary

plot

Logical. If TRUE, and from/to are defined, binary plot is outputted

Value

RasterLayer or RasterStack.


LewisAJones/LBGSim documentation built on March 28, 2020, 12:03 a.m.