Rdocumentation
powered by
Learn R Programming
dtwclust (version 2.1.2)
zscore: Wrapper for z-normalization
Description
Wrapper for function
scale
that returns zeros instead of
NaN
. It also supports a list of vectors and a matrix input.
Usage
zscore(x, ..., na.rm = FALSE)
Arguments
x
Data to normalize. Either a vector, a matrix where each row is to be normalized, or a list of vectors.
...
Further arguments to pass to
scale
.
na.rm
Logical flag. Should
NA
s be removed? Ignored for matrix input.
Value
Normalized data in the same format as provided.