TSrepr (version 1.0.4)

denorm_min_max: Min-Max denormalisation

Description

The denorm_min_max denormalises time series by min-max method.

Usage

denorm_min_max(x, min, max)

Arguments

x

the numeric vector (time series)

min

the minimum value

max

the maximal value

Value

the numeric vector of denormalised values

References

Laurinec P, Luck<U+00E1> M (2018) Clustering-based forecasting method for individual consumers electricity load using time series representations. Open Comput Sci, 8(1):38<U+2013>50, DOI: 10.1515/comp-2018-0006

See Also

norm_min_max, norm_min_max_list

Examples

Run this code
# NOT RUN {
# Normalise values and save normalisation parameters:
norm_res <- norm_min_max_list(rnorm(50, 5, 2))
# Denormalise new data with previous computed parameters:
denorm_min_max(rnorm(50, 4, 2), min = norm_res$min, max = norm_res$max)

# }

Run the code above in your browser using DataLab