standardize_vector {sdsfun} | R Documentation |
standardization
Description
To calculate the Z-score using variance normalization, the formula is as follows:
Z = \frac{(x - mean(x))}{sd(x)}
Usage
standardize_vector(x)
Arguments
x |
A numeric vector |
Value
A standardized numeric vector
Examples
standardize_vector(1:10)
[Package sdsfun version 0.2.1 Index]