rescale: Rescale

rescaleR Documentation

Rescale

Description

Rescales values in the interval "from" (lower, upper) to the new interval "to" (lower, upper).

Usage

rescale(x, from, to)

Arguments

x

vector of values tp be scaled

from

vector of length 2, original interval (lower, upper)

to

vector of length 2, target interval (lower, upper)

Author(s)

Tankred Ott


BayesianTools documentation built on Feb. 16, 2023, 8:44 p.m.