You can install this package in R using these commands:
remotes::install_github('adamlilith/legendary', dependencies=TRUE)
NB: If for some reason these commands don't work, you can install the package(s) by downloading the latest zip/tar file from the zipTarFiles
directory and installing the package(s) manually.
annulus
: Annulus (a circle with a hole)annulusSeg
: Segmented annuli (segments of circles with holes)arc
: Arcs (segments of circles)pancakes
: Side-by-side bar charts (useful for displaying female/male age structure, for example)pies
: Add a pie chart to a plotquadPlot
: 4-color/corner plot for data with proportional degrees of four categoriesspoke
: 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 valueslegendGrad
: Legend with a color gradientlegendQuad
: Legend for data with proportional degrees of four categories (cf.quadPlot
)
colorFrom4Vector
: Transforms a vector of four values to HSV color plus coordinates on aquadPlot
emptyCorner
: Find the corner of the plot that is the least occupied by plot elementsgetFig
: Return coordinates forpar(fig=xxxx)
for use withlayout
function for placing subplotslabelFig
: Adds a figure title in the upper left corner of the plot region (as in manuscripts).