scaleMat: Scale values

Description Usage Arguments Value

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 May 28, 2019, 8:24 a.m.