RESCALE: A function to rescale a vector.

View source: R/utility_functions.R

RESCALER Documentation

A function to rescale a vector.

Description

A function to rescale a vector.

Usage

RESCALE(invec, a = 0, b = 1)

Arguments

invec

The vector to re-scale.

a

The lower limit of the new scale.

b

The upper limit of the new scale.

Value

The scaled vector.


soilfoodwebs documentation built on May 31, 2023, 5:46 p.m.