See title.
formatperc(x,digits)
x
a vector of probabilities to be formatted as percentages.
digits
the number of required digits in the percentages.