scale_from_unit: Scale values from the unit interval to their original scale

View source: R/utils.R

scale_from_unitR Documentation

Scale values from the unit interval to their original scale

Description

Scale values from the unit interval to their original scale

Usage

scale_from_unit(scaled_vals, max_orig, min_orig)

Arguments

scaled_vals

A numeric vector of values scaled to lie in the closed interval [0, 1] by use of scale_to_unit.

max_orig

The maximum of the values on the original scale.

min_orig

The minimum of the values on the original scale.


nhejazi/medoutcon documentation built on July 16, 2025, 5:38 p.m.