Subtracts the mean from a numeric vector, returning a vector (not a 1D matrix).
Examples
center(c(10, 20, 30))
#> [1] -10 0 10
Subtracts the mean from a numeric vector, returning a vector (not a 1D matrix).
center(c(10, 20, 30))
#> [1] -10 0 10