rescale: Rescale function (as in 'scales::rescale')

View source: R/makeDummyInputs.R

rescaleR Documentation

Rescale function (as in scales::rescale)

Description

This is a simple function copied from the scales package (almost the same).

Usage

rescale(x, to)

Arguments

x

a numeric vector

to

a numeric vector of length 2. The new range of values.


PredictiveEcology/LandR documentation built on June 7, 2024, 4:16 p.m.