scaleMat: Scale values

Description Usage Arguments Value

View source: R/helpers.R

Description

Scale the values of a matrix to a specific range

Usage

1

Arguments

mat

[matrix(1)]
the matrix, in which values shall be scaled to range.

range

[integerish(2)]
the range, to which values in mat should be scaled to.

Value

a matrix of scaled values.


EhrmannS/rasterTools documentation built on Sept. 4, 2019, 10:34 a.m.