scale_to_unit: Transform values by scaling to the unit interval

View source: R/bound.R

scale_to_unitR Documentation

Transform values by scaling to the unit interval

Description

Transform values by scaling to the unit interval

Usage

scale_to_unit(vals)

Arguments

vals

A numeric vector corresponding to the observed values of the variable of interest, to be re-scaled to the unit interval.

Details

A transformation that scales an arbitrary set of input values to the unit interval. See scale_to_original for a corresponding backtransformation.

Value

A numeric vector of the same length as vals, where the values are re-scaled to lay in unit interval.


blind-contours/CVtreeMLE documentation built on June 22, 2024, 8:53 p.m.