Panel Function for Pie Charts
USAGE:
panel.piechart(x, y, names = names(x), col, ...)
ARGUMENTS:
- x
-
argument to the function
pie
.
- y
-
dummy variable
- names
-
optional character vector of slice labels.
- col
-
vector of colors to use in filling the pie slices.
By default, trellis parameter list
pie.fill
is used for these colors.
- ...
-
other acceptable arguments to
pie
can be specified.
See documentation of
pie
for a list of available arguments.
SIDE EFFECTS:
The
panel.piechart
function draws one pie per panel.
SEE ALSO:
,
.