denorm_min_max {TSrepr}R Documentation

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

Author(s)

Peter Laurinec, <tsreprpackage@gmail.com>

References

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

See Also

norm_min_max, norm_min_max_list

Examples

# 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)


[Package TSrepr version 1.1.0 Index]