base.aesthetic Function (GPL)
Syntax
base.aesthetic(aesthetic(aesthetic.<aesthetic type>))
<aesthetic type>. An aesthetic whose associated variable is used as the percentage base.
Description
Specifies that the percentage is based on the count across the result of an aesthetic function. Summing the percentages of all of the cases in a specific aesthetic group equals 100%. For example, all blue bars sum to 100%, and all red bars sum to 100%.
Examples
COORD: rect(dim(1,2), cluster(3))
ELEMENT: interval(position(summary.percent(summary.count(jobcat*1*gender),
base.aesthetic(aesthetic(aesthetic.color)))), color(jobcat))