If x is a single number, it should be a fraction between 0 and 1.
It will be converted to a percentage and then converted to a character
string followed by the percentage symbol.
If x is a logical vector, the fraction of values which are
TRUE will be computed, and used to determine the percentage.