pie_rd3 produces an interactive barplot of coincidences between events.
pie_rd3(v, w = NULL, labels = NULL, colors = NULL, nodes = NULL, links = NULL,
name = NULL, source = NULL, target = NULL, lcolor = NULL,
ablineX = NULL, ablineY = NULL, hideUpper = FALSE, main = NULL, note = NULL,
showLegend = TRUE, help = NULL, helpOn = FALSE,
cex = 1, language = c("en", "es", "ca"), dir = NULL)Object of class pie_rd3.
a vector or array of non-negative numerical quantities. The values are displayed as the areas of pie slices.
an array of non-negative numerical quantities. The first value is displayed as a pie slice bordered red.
character strings giving names for the slices.
a vector of colors to be used in filling the slices.
a data frame with information for rows and columns.
a data frame with information for each pie.
name of the column with rownames and colnames in the nodes data frame.
name of the column with rownames in the links data frame.
name of the column with colnames in the links data frame.
name of the column with color variable in the links data frame.
adds one or more straight vertical lines between pies.
adds one or more straight horizontal lines between pies.
should hide the upper triangle?
upper title of the graph.
lower title of the graph.
a logical value true if the legend is to be shown.
a character string indicating a help text of the graph.
Should the help be shown at the beginning?
number indicating the amount by which plotting text should be scaled relative to the default.
a character vector (es=spanish; en=english; ca=catalan).
a character string representing the directory where the web files will be saved.
Modesto Escobar, Department of Sociology and Communication, University of Salamanca.
pie <- pie_rd3(1:4, labels = c("XY","X","","Y"),
colors = c("black","cadetblue2", "white","cadetblue3"))
if (FALSE) {
plot(pie)
}
Run the code above in your browser using DataLab