denorm_min_max: Min-Max denormalisation

Description Usage Arguments Value Author(s) 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, <[email protected]>

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 June 1, 2018, 5:06 p.m.