Learn R Programming

TSrepr (version 1.1.1)

norm_z_params: Z-score normalisation with parameters

Description

The norm_z_params normalises time series by z-score with defined mean and standard deviation.

Usage

norm_z_params(x, mean, sd)

Value

the numeric vector of normalised values

Arguments

x

the numeric vector (time series)

mean

the numeric value

sd

the numeric value - standard deviation

Author

Peter Laurinec, <[email protected]>

See Also

norm_min_max_params

Examples

Run this code
norm_z_params(runif(50), 0.5, 1)

Run the code above in your browser using DataLab