scale_to_original {txshift} | R Documentation |
Transform values from the unit interval back to their original scale
Description
Transform values from the unit interval back to their original scale
Usage
scale_to_original(scaled_vals, max_orig, min_orig)
Arguments
scaled_vals |
A |
max_orig |
A |
min_orig |
A |
Details
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
.
Value
A numeric
vector of the same length as scaled_vals
,
where the values are re-scaled to lie in their original/natural interval.
[Package txshift version 0.3.8 Index]