denorm_min_max: Min-Max denormalisation

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/RcppExports.R

Description

The denorm_min_max denormalises time series by min-max method.

Usage

1

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

1
2
3
4
# 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)

TSrepr documentation built on July 13, 2020, 9:07 a.m.