R/bound.R
scale_to_original.Rd
Transform values from the unit interval back to their original scale
scale_to_original(scaled_vals, max_orig, min_orig)
A numeric
vector corresponding to re-scaled values
in the unit interval, to be re-scaled to the original interval.
A numeric
scalar value giving the maximum of the
values on the original scale.
A numeric
scalar value giving the minimum of the
values on the original scale.
A numeric
vector of the same length as scaled_vals
,
where the values are re-scaled to lie in their original/natural interval.
A back-transformation that returns values computed in the unit
interval to their original scale. This is used in re-scaling updated TML
estimates back to their natural scale. Undoes scale_to_unit
.