A function to scale data to the percent of the maximum observed
This function rescales the columns in a data matrix to the percent of the maximum observed value. The variance is not scaled and missing values are ignored in the calculation.
A (non-empty) matrix with data values. Columns should be different traits and rows unique observations of those traits
Returns a matrix with the same dimensions as DATA.
1 2 3 4 5 6 7