Calculate the percentage (value divided by sum of values in the row/column) for each row/column
rowOrColumnwisePercentage(x, rowwise, default = 0, digits = 1)
x | two dimensional numeric data structure |
---|---|
rowwise | if |
default | default value to be used if the calculated percentage is
|
digits | number of digits (default: 1) to which the resulting
percentages are to be rounded. Set to |