legendary | R Documentation |
This package contains functions for new kinds of plots and legends.
Create an issue on GitHub.
annulus
: Annulus (a circle with a hole)
annulusSeg
: Segmented annuli (segment of a circle with a hole)
arc
: Arcs (segment of a circle)
pancakes
: Side-by-side bar charts (useful for displaying female/male age structure, for example)
pies
: Add a pie chart to a plot
quadPlot
: 4-color/corner plot for data with proportional degrees of four categories
spoke
: Nodes representing items arranged in a circle with lines drawn between them to represent connections (e.g., variables with high levels of correlation)
legendBreaks
: Legend with stacked, colored bars useful for displaying, for example, maps of continuous values that have been thresholded using multiple values
legendGrad
: Legend with a color gradient
legendQuad
: Legend for data with proportional degrees of four categories (cf. quadPlot
)
colorFrom4Vector
: Transforms a vector of four values to HSV color plus coordinates on a quadPlot
emptyCorner
: Find the corner of the plot that is the least occupied by plot elements
getFig
: Return coordinates for par(fig=xxxx)
for use with layout
function for placing subplots
labelFig
: Adds a figure title in the upper left corner of the plot region (as in manuscripts)
Adam B. Smith
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.