Learn R Programming

LSD (version 2.5)

LSDpie: LSD Pie

Description

Piecharts at arbitrary position and radii.

Usage

LSDpie(props, x = 0, y = 0, radius = 1, cols = NULL, colpal = "pies", edges = 100, add = FALSE, xlim = NULL, ylim = NULL, main = "Piecharts", alpha = NULL, ...)

Arguments

props
vector giving the relations of the pie pieces (need not to be normed)
x
x-position of the piechart
y
y-position of the piechart
radius
radius of the piechart
cols
vector of colors
colpal
colorpalette if cols is not specified
edges
number of edges the "circle" will have
add
should piechart be added to an existing plot
xlim
xlimits, standard graphics parameter
ylim
ylimits, standard graphics parameter
main
title of the plot
alpha
alpha value for color opacity
...
additional parameters to be passed to points and plot

See Also

disco,LSD.demo.tour

Examples

Run this code
demo.LSDpie()

Run the code above in your browser using DataLab