normalize {BETS}R Documentation

Normalize a time series

Description

Normalizes a time series, either by stardization or by mapping to values between 0 and 1.

Usage

normalize(series, mode = "scale")

Arguments

series

A ts object or a ts list. The series to be normalized.

mode

A character. The normalization method. Set this parameter to 'maxmin' to map series values to values between 0 and 1. Alternatively, set this parameter to 'scale' to standardize (substract the mean and divide by the standard deviation).

Value

A ts object or a ts list. The normalized series.

Author(s)

Talitha Speranza talitha.speranza@fgv.br


[Package BETS version 0.4.9 Index]