normalize.Rd

Normalize a matrix column-wise by dividing each entry by its corresponding column sum.

normalize(x)

a matrix

a normalized matrix