Here is an excerpt of numeric matrix that I have
[1,] 30 -33.129487 3894754.1 -39.701738 -38.356477 -34.220534 [2,] 29 -44.289487 -8217525.9 -44.801
And if you were still to use scale:
scale
maxs <- apply(a, 2, max) mins <- apply(a, 2, min) scale(a, center = mins, scale = maxs - mins)