TSrepr (version 1.0.4)

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)

Arguments

x

the numeric vector (time series)

mean

the numeric value

sd

the numeric value - standard deviation

Value

the numeric vector of normalised values

See Also

norm_min_max_params

Examples

Run this code
# NOT RUN {
norm_z_params(runif(50), 0.5, 1)

# }

Run the code above in your browser using DataCamp Workspace