powered by
col01scale
colcenter
colcenter (mat) col01scale(mat, scale.func = function(x) diff(range(x)), location.func = mean)
mat
scale()
## See the simple function definitions: colcenter ## simply one line col01scale# almost as simple
Run the code above in your browser using DataLab