take each element of matrix dived by column total

normalize_matrix(mat)

Arguments

mat

a matrix to normalize

Details

Make sure to remove total rows before using with VP data

Note

used internally for visualization of confusion matrices