scale_01: Scale data from (0 to 1) to (0 to 1)

Description Usage Arguments Value Author(s) References Examples

View source: R/scale_01.R

Description

Scaling to 0/1 from 0/1. This is a support function that is not intended for the end user to directly use.

Usage

1
scale_01(x, a = 7.53, b = 0.103)

Arguments

x

A time series object

a

param a

b

param b

Value

Scaled values

Author(s)

Rob Hyndman

References

https://robjhyndman.com/hyndsight/tscharacteristics/

Examples

1
2
3
scale_01(ts(rnorm(120, 10, 10), frequency=12),
         a = 7.53,
         b = 0.103)

DataScienceForPublicPolicy/hypML documentation built on Dec. 17, 2021, 4:06 p.m.