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

Description Usage Arguments

View source: R/scale.R

Description

Scale values from the unit interval to their original scale

Usage

1
scale_from_unit(scaled_vals, max_orig, min_orig)

Arguments

scaled_vals

A numeric vector of values scaled to lie in the closed unit interval by the 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.


Netflix/sherlock documentation built on Dec. 17, 2021, 5:22 a.m.