center {sSDR} | R Documentation |
Center a vector
Description
Center a vector
Usage
center(v)
Arguments
v |
A vector. |
Details
This function centers any vector and returns a vector with mean zero.
Value
A vector with mean zero.
Examples
data <- gen.data(n=100)
y.centered <- center(data$y)
[Package sSDR version 1.2.0 Index]